Skip to content
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

nodemon breaks with npm 2.11.x #559

Closed
kyrylkov opened this issue May 31, 2015 · 1 comment
Closed

nodemon breaks with npm 2.11.x #559

kyrylkov opened this issue May 31, 2015 · 1 comment

Comments

@kyrylkov
Copy link

nodejs/node#1849
npm/npm#8419

C:\Users\Dev>nodemon
exception in nodemon killing node
Error: Cannot find module 'wrappy'
    at Function.Module._resolveFilename (module.js:332:15)
    at Function.Module._load (module.js:282:25)
    at Module.require (module.js:361:17)
    at require (module.js:380:17)
    at Object.<anonymous> (C:\Users\Sergiy Kyrylkov\AppData\Roaming\npm\node_modules\nodemon\node_modules\update-notifier\node_modules\latest-version\node_modules\package-json\node_modules\got\node_modules\duplexify\node_modules\end-of-stream\node_modules\once\once.js:1:76)
    at Module._compile (module.js:426:26)
    at Object.Module._extensions..js (module.js:444:10)
    at Module.load (module.js:351:32)
    at Function.Module._load (module.js:306:12)
    at Module.require (module.js:361:17)
    at require (module.js:380:17)
@kyrylkov kyrylkov changed the title nodemon breaks on io.js 2.2.0 nodemon breaks on io.js 2.2.0 with npm 2.11.0 Jun 1, 2015
@kyrylkov kyrylkov changed the title nodemon breaks on io.js 2.2.0 with npm 2.11.0 nodemon breaks on io.js 2.2.x with npm 2.11.x Jun 2, 2015
@kyrylkov
Copy link
Author

The workaround is to edit npmrc to use a shorter path for global modules:

# prefix=${APPDATA}\npm
prefix=C:\npm

@kyrylkov kyrylkov changed the title nodemon breaks on io.js 2.2.x with npm 2.11.x nodemon breaks with npm 2.11.x Jun 15, 2015
@remy remy closed this as completed Aug 31, 2015
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

2 participants