[
https://issues.apache.org/jira/browse/CB-9626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16149021#comment-16149021
]
Yohan Lasorsa commented on CB-9626:
-----------------------------------
This issue is becoming more and more serious over time: now that cordova use
npm to fetch dependencies as default, it use the `npm@2` version installed
because of `cordova-lib` instead of the system one (`npm@5`), making it
impossible to add platform or plugin that have `peerDependencies` (older npm
versions have issues with this).
This completely break my build on Windows 10, and the only workaround is to use
the `--nofetch` args, but then it's some recent plugins that fails.
Please do something about this!
> 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: cordova-lib
> 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.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]