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

no such file or directory, chmod '/usr/local/lib/node_modules/how-to-npm/node_modules/mkdirp/bin/cmd.js' #148

Open
njabulomajozi opened this issue Jan 21, 2021 · 7 comments

Comments

@njabulomajozi
Copy link

Getting

no such file or directory, chmod '/usr/local/lib/node_modules/how-to-npm/node_modules/mkdirp/bin/cmd.js'

when running npm i -g how-to-npm

@gabolvr
Copy link

gabolvr commented Mar 2, 2021

I'm getting the same error.

@NachoRV
Copy link

NachoRV commented May 5, 2022

I have this error:

Error: Cannot find module 'workshopper-adventure/adventure'
Require stack:
- /usr/local/lib/node_modules/how-to-npm/index.js

@johanduque15
Copy link

same probleme

@Pixel48
Copy link

Pixel48 commented Aug 16, 2022

Same here

I think package workshopper-adventure/adventure is gone, at least for public - logs point to

npm ERR! command git --no-replace-objects ls-remote ssh://[email protected]/workshopper-adventure/adventure.git

but workshopper-adventure/adventure respones with 404

Does anyone know what functionality adventure package provides?

@r0ulito
Copy link

r0ulito commented Sep 13, 2022

Faced the same problem today with students.
All you have to do to get rid of this error is to run
npm install in the folder where how-to-npm is installed globally

@jakubkloc
Copy link

@r0ulito Doesn't work for me, neither in npm folder and nested node_modules folder:
image

image

@lanofblue
Copy link

@r0ulito Doesn't work for me, neither in npm folder and nested node_modules folder: image

image

Actually, you should do this in .npm-global/lib/node_modules/how-to-npm. The right path for macOS is /Users/$User/.npm-global/lib/node_modules/how-to-npm. Make sure there is a package.json file in your folder.
CleanShot 2024-08-05 at 16 10 44@2x

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

8 participants