cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sam Kelleher (JIRA)" <>
Subject [jira] [Commented] (CB-9626) Cordova-Lib requires NPM as a dependency
Date Mon, 16 May 2016 15:46:13 GMT


Sam Kelleher commented on CB-9626:


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:
>             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
> 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

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message