-
Notifications
You must be signed in to change notification settings - Fork 107
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
Installation of how-to-npm
, does not seem to install dependencies
#2639
Comments
it seems to be on npm https://www.npmjs.com/package/rimraf |
$ sw_vers
ProductName: macOS
ProductVersion: 14.2.1
BuildVersion: 23C71
$ node --version
v21.5.0
$ npm --version
10.2.4
$ npm install -g how-to-npm
npm WARN deprecated [email protected]: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details.
added 75 packages in 3s
3 packages are looking for funding
run `npm fund` for details
npm notice
npm notice New patch version of npm available! 10.2.4 -> 10.2.5
npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.2.5
npm notice Run npm install -g [email protected] to update!
npm notice
$ how-to-npm
┌──────────────────────────────────────────────────────────┐
│ how-to-npm update check failed │
│ Try running with sudo or get access │
│ to the local update config store via │
│ sudo chown -R $USER:$(id -gn $USER) /Users/kelly/.config │
└──────────────────────────────────────────────────────────┘
node:internal/modules/cjs/loader:1146
throw err;
^
Error: Cannot find module 'workshopper-adventure/adventure'
Require stack:
- /usr/local/lib/node_modules/how-to-npm/index.js
at Module._resolveFilename (node:internal/modules/cjs/loader:1143:15)
at Module._load (node:internal/modules/cjs/loader:984:27)
at Module.require (node:internal/modules/cjs/loader:1234:19)
at require (node:internal/modules/helpers:176:18)
at Object.<anonymous> (/usr/local/lib/node_modules/how-to-npm/index.js:15:17)
at Module._compile (node:internal/modules/cjs/loader:1375:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1434:10)
at Module.load (node:internal/modules/cjs/loader:1206:32)
at Module._load (node:internal/modules/cjs/loader:1022:12)
at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:142:12) {
code: 'MODULE_NOT_FOUND',
requireStack: [ '/usr/local/lib/node_modules/how-to-npm/index.js' ]
}
Node.js v21.5.0 Running with |
I guess something is preventing how-to-npm from including it's required dependencies. I had to go in and manually install all 7 dependencies can be found here: |
Error output
Why is this so?
The text was updated successfully, but these errors were encountered: