[ 
https://issues.apache.org/jira/browse/CB-9626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15284744#comment-15284744
 ] 

Sam Kelleher commented on CB-9626:
----------------------------------

Bump!

This is an issue because when calling `npm` from within a build script, this 
very old verison of `npm` installed by cordova-lib is the one that it called, 
because npm3 has flattened it in the tree. This causes a host of problems from 
installing private scoped cordova packages, or if you have a build script that 
runs npm scripts or commands in anyway that has since changed between 2 and 3 
(of which there are many changes).

The npm dependency should be removed.

> Cordova-Lib requires NPM as a dependency
> ----------------------------------------
>
>                 Key: CB-9626
>                 URL: https://issues.apache.org/jira/browse/CB-9626
>             Project: Apache Cordova
>          Issue Type: Wish
>          Components: CordovaLib
>            Reporter: Robert Baker
>
> I'm using NPM 3.x (3.3.2) and cordova-create is installing NPM 2.x in my node 
> modules folder.
> There should be a way around this, I rather not have a copy of NPM 
> (especially an older copy) in my node_modules.
> NPM 3.x is stable, included in node 5.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to