-
Notifications
You must be signed in to change notification settings - Fork 78
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
"npm link" results in "permission denied" #35
Comments
Aha! I'm using With your setup, you'll have to do |
Thanks for your quick reply. |
@fyl2xp1 you'll want to check this out: https://docs.npmjs.com/getting-started/fixing-npm-permissions the tl;dr is you can reinstall node using a version manager (i know it sounds like a lot but this is the preferred method!) or you can change the default directory manually... both of those are documented in the above link. |
@ashleygwilliams thing is that it installing node using a version manager requires node to begin with, which already has been wrongly installed requiring sudo. So after installing a different version of node using |
Please try again through the following command line
I wish it could help you |
By following the tutorial the
npm link
command results in a "permission denied" error message. I already purged the whole project directory and started all over. The issue remained:The log adds the following information:
The message is misleading, though. The link target simply doesn't exist:
Did I miss a step?
The text was updated successfully, but these errors were encountered: