[ https://issues.apache.org/jira/browse/CB-12785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16017148#comment-16017148 ]
Julien Durens edited comment on CB-12785 at 5/19/17 9:47 AM: ------------------------------------------------------------- I found a solution for this, I'll investigate a bit and make a Pull request. For now, it seems to work if you edit `cordova/node_modules/dependency-ls/index.js` and change `REGEX.package` to <pre>^([│ ]*)[└├+`][─-]+┬?\s+((?:@(?:[^\/]+?)[\/])?(?:[^\/]+?))@(\S*).*$/</pre> was (Author: n00dl3): I found a solution for this, I'll investigate a bit and make a Pull request. For now, it seems to work if you edit `cordova/node_modules/dependency-ls/index.js` and change `REGEX.package` to `^([│ ]*)[└├+`][─-]+┬?\s+((?:@(?:[^\/]+?)[\/])?(?:[^\/]+?))@(\S*).*$/` > cli v7 cannot add plugin via git+ssh > ------------------------------------ > > Key: CB-12785 > URL: https://issues.apache.org/jira/browse/CB-12785 > Project: Apache Cordova > Issue Type: Bug > Components: cordova-cli > Affects Versions: 6.0.0, 7.0.0, 6.5.0 > Environment: Ubuntu 16.04 x64 > Reporter: Chris Hunt > Priority: Minor > Labels: cordova-8.0.0, reproduced, triage > > In previous versions (including 6.5), the following command would work: > cordova plugin add git+ssh://g...@github.com/XXX/XXX.git#HASH > This appears to be broken in v7; it results in the following error: > Error: Failed to fetch plugin ssh://g...@github.com/XXX/XXX#HASH via registry. > Probably this is either a connection problem, or plugin spec is incorrect. > Check your connection and plugin name/version/URL. > Failed to get absolute path to installed module -- This message was sent by Atlassian JIRA (v6.3.15#6346) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@cordova.apache.org For additional commands, e-mail: issues-h...@cordova.apache.org