nodist: Cannot find module 'mkdirp'
No matter where I run nodist update
from, the modules don’t seem to be installing to the right location. Tried it in good ol command prompt, as well as the git bash shell. I checked the nodist folder where I install it and there are no modules in the node_modules folder. I also tried NPM installing using the package.json in the nodist root, but all I get is Invalid password errors on random modules.
Here is an example of the error:
C:\Users\Neo\Projects>nodist update
1 file(s) copied.
npm WARN package.json Hermes@0.0.0 No README.md file found!
1 file(s) moved.
npm http GET https://registry.npmjs.org/request
npm http GET https://registry.npmjs.org/semver
npm http GET https://registry.npmjs.org/rimraf
npm http GET https://registry.npmjs.org/mkdirp
npm http 401 https://registry.npmjs.org/mkdirp
npm http GET https://registry.npmjs.org/mkdirp
npm http 401 https://registry.npmjs.org/rimraf
npm http 401 https://registry.npmjs.org/semver
npm http 401 https://registry.npmjs.org/request
npm http 401 https://registry.npmjs.org/mkdirp
C:\Users\Neo\Projects>nodist + v0.10.8
module.js:340
throw err;
^
Error: Cannot find module 'mkdirp'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object.<anonymous> (C:\Users\Neo\Projects\nodist\lib\nodist.js:27:18)
at Module._compile (module.js:449:26)
at Object.Module._extensions..js (module.js:467:10)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
at Module.require (module.js:362:17)
About this issue
- Original URL
- State: closed
- Created 11 years ago
- Comments: 39 (16 by maintainers)
Commits related to this issue
- Check in node_modules hopefully fixes the beloved #27 — committed to nodists/nodist by marcelklehr 10 years ago
It looks this may be a problem with npm 1.3.9 (confirmed thats what I have with npm --version), here are some related issues: https://github.com/isaacs/npm/issues/3825 https://github.com/isaacs/npm/issues/3820