Skip to content

Cannot find module 'colors' during uninstall #1419

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
vchimev opened this issue Jan 21, 2016 · 1 comment
Closed

Cannot find module 'colors' during uninstall #1419

vchimev opened this issue Jan 21, 2016 · 1 comment
Assignees
Milestone

Comments

@vchimev
Copy link

vchimev commented Jan 21, 2016

I get this on npm 3.5.1 version, have not tried it on npm 2.*.

VCHIMEVMAC:mobile-master vchimev$ npm uninstall -g nativescript

> [email protected] preuninstall /usr/local/lib/node_modules/nativescript
> node preuninstall.js

Failed to complete all pre-uninstall steps. 
{ [Error: Command failed: /bin/sh -c node bin/nativescript.js dev-preuninstall
module.js:340
    throw err;
    ^

Error: Cannot find module 'colors'
    at Function.Module._resolveFilename (module.js:338:15)
    at Function.Module._load (module.js:289:25)
    at Module.require (module.js:366:17)
    at require (module.js:385:17)
    at Object.verifyNodeVersion (/usr/local/lib/node_modules/nativescript/lib/common/verify-node-version.js:6:5)
    at Object.<anonymous> (/usr/local/lib/node_modules/nativescript/lib/nativescript-cli.js:3:41)
    at Module._compile (module.js:425:26)
    at Object.Module._extensions..js (module.js:432:10)
    at Module.load (module.js:356:32)
    at Function.Module._load (module.js:313:12)
]
@rosen-vladimirov rosen-vladimirov self-assigned this Jan 26, 2016
@teobugslayer teobugslayer modified the milestones: 1.6.0, 1.7.0 Jan 27, 2016
@teobugslayer
Copy link
Contributor

I can repro on Mac / El Capitan.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants