You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cordova.apache.org by "Andreas Kohn (JIRA)" <ji...@apache.org> on 2017/11/28 10:52:04 UTC
[jira] [Comment Edited] (CB-9626) Cordova-Lib requires NPM as a
dependency
[ https://issues.apache.org/jira/browse/CB-9626?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16268555#comment-16268555 ]
Andreas Kohn edited comment on CB-9626 at 11/28/17 10:51 AM:
-------------------------------------------------------------
This issue is now breaking our builds completely on Travis with Node 8.9.1:
{code}
$ nvm install lts/carbon
v8.9.1 is already installed.
Now using node v8.9.1 (npm v5.5.1)
$ node --version
v8.9.1
$ npm --version
module.js:538
throw err;
^
Error: Cannot find module 'dezalgo'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/travis/build/Collaborne/collaborne-mobile-app/node_modules/npm/lib/utils/correct-mkdir.js:2:15)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
$ nvm --version
0.33.6
{code}
I've not yet found how to reproduce this completely locally, so it is possible that Travis does something to aggravate the problem.
was (Author: ankon):
This issue is now breaking our builds completely on Travis with Node 8.9.1:
~~~~
$ nvm install lts/carbon
v8.9.1 is already installed.
Now using node v8.9.1 (npm v5.5.1)
$ node --version
v8.9.1
$ npm --version
module.js:538
throw err;
^
Error: Cannot find module 'dezalgo'
at Function.Module._resolveFilename (module.js:536:15)
at Function.Module._load (module.js:466:25)
at Module.require (module.js:579:17)
at require (internal/module.js:11:18)
at Object.<anonymous> (/home/travis/build/Collaborne/collaborne-mobile-app/node_modules/npm/lib/utils/correct-mkdir.js:2:15)
at Module._compile (module.js:635:30)
at Object.Module._extensions..js (module.js:646:10)
at Module.load (module.js:554:32)
at tryModuleLoad (module.js:497:12)
at Function.Module._load (module.js:489:3)
$ nvm --version
0.33.6
~~~~
I've not yet found how to reproduce this completely locally, so it is possible that Travis does something to aggravate the problem.
> 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
> Labels: backlog, tools-next
>
> cordova-create is installing NPM 2.x in my node modules folder.
> There should be a way around this, it should use the same version I'm already using.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@cordova.apache.org
For additional commands, e-mail: issues-help@cordova.apache.org