You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Oliver Salzburg (JIRA)" <ji...@apache.org> on 2018/06/26 15:38:00 UTC

[jira] [Updated] (CB-14171) Unable to install scoped npm plugin from git

     [ https://issues.apache.org/jira/browse/CB-14171?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Oliver Salzburg updated CB-14171:
---------------------------------
    Description: 
When attempting to install a plugin from a git URL and the plugin is under an npm scope, the installation fails.

 

{{$ cordova plugin add [https://github.com/fairmanager-cordova/plugin-push.git] --verbose --debug}}
 {{No scripts found for hook "before_plugin_add".}}
 {{Calling plugman.fetch on plugin "https://github.com/fairmanager-cordova/plugin-push.git"}}
 {{saving}}
 {{Running command: cmd "/s /c "C:\Users\OliverSalzburg\AppData\Local\nvs\default\npm.cmd install [https://github.com/fairmanager-cordova/plugin-push.git] --production --save""}}
 {{Command finished with error code 0: cmd /s /c "C:\Users\OliverSalzburg\AppData\Local\nvs\default\npm.cmd install [https://github.com/fairmanager-cordova/plugin-push.git] --production --save"}}
 {{

{ CordovaError: Failed to get absolute path to installed module}

}

  was:When attempting to install a plugin from a git URL and the plugin is under an npm scope, the installation fails.


> Unable to install scoped npm plugin from git
> --------------------------------------------
>
>                 Key: CB-14171
>                 URL: https://issues.apache.org/jira/browse/CB-14171
>             Project: Apache Cordova
>          Issue Type: Bug
>          Components: cordova-fetch
>    Affects Versions: 1.3.0
>            Reporter: Oliver Salzburg
>            Priority: Major
>
> When attempting to install a plugin from a git URL and the plugin is under an npm scope, the installation fails.
>  
> {{$ cordova plugin add [https://github.com/fairmanager-cordova/plugin-push.git] --verbose --debug}}
>  {{No scripts found for hook "before_plugin_add".}}
>  {{Calling plugman.fetch on plugin "https://github.com/fairmanager-cordova/plugin-push.git"}}
>  {{saving}}
>  {{Running command: cmd "/s /c "C:\Users\OliverSalzburg\AppData\Local\nvs\default\npm.cmd install [https://github.com/fairmanager-cordova/plugin-push.git] --production --save""}}
>  {{Command finished with error code 0: cmd /s /c "C:\Users\OliverSalzburg\AppData\Local\nvs\default\npm.cmd install [https://github.com/fairmanager-cordova/plugin-push.git] --production --save"}}
>  {{
> { CordovaError: Failed to get absolute path to installed module}
> }



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org