cordova-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andreas Kohn (JIRA)" <>
Subject [jira] [Commented] (CB-9626) Cordova-Lib requires NPM as a dependency
Date Tue, 28 Nov 2017 10:51:00 GMT


Andreas Kohn commented on CB-9626:

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
$ npm --version
    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

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

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

View raw message