-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
[BUG] Permision issue with npm install #984
Comments
Hi @Huluti, which npm version do you use? |
@DanielRuf Hi! the 6.13.7 version. |
Please check your PATH. Do you also use yarn and maybe some npm version was installed by it or there is some other npm binary loaded before the right one? |
See that “npm-global” thing? Delete the “prefix” line from your ~/.npmrc |
I've this because of this guide. Without this, I can't install npm globally:
|
You'd need to use |
I thought this isn't recommended (anymore) and there were fixes and recommendations to chown it to the current user? |
I've seen nothing but problems from the guide linked above; that tweet just says "run |
Thank's for your responses. I've remove what the guide said. I have reverted nodejs to 12.16.1 LTS instead of the latest version. And it reworks. |
What steps will reproduce the bug?
How often does it reproduce? Is there a required condition?
Always.
What is the expected behavior?
installation of the modules.
What do you see instead?
Aditional details
Already tried to reinstall nodejs, remove the package-lock.json and clean the cache...
The text was updated successfully, but these errors were encountered: