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

Unknown error: Error: EPERM: operation not permitted, read #2288

Closed
hellojt9040 opened this issue Dec 26, 2020 · 3 comments
Closed

Unknown error: Error: EPERM: operation not permitted, read #2288

hellojt9040 opened this issue Dec 26, 2020 · 3 comments
Labels
ERR! node-gyp -v < v10.x.x npm install -g npm

Comments

@hellojt9040
Copy link

Not able to run any of the ng commands. Gone through some of the threads but in vain.
I followed #1830 and i am getting the same error. Need help!

@hellojt9040 hellojt9040 changed the title ok, but now you havUnknown error: Error: EPERM: operation not permitted, reade this unset, can you first try: npm install npm@latest -g to see if we can get npm properly reinstalled at that location. And second, if that still doesn't work, try uninstalling Node and reinstalling it again. Unknown error: Error: EPERM: operation not permitted, read Dec 26, 2020
@cclauss
Copy link
Contributor

cclauss commented Dec 26, 2020

This is not the repo for ng.

@hellojt9040
Copy link
Author

I followed #1830 and got that this is due node-gyp.

image

@cclauss
Copy link
Contributor

cclauss commented Dec 26, 2020

gyp ERR! node-gyp -v 5.1.0

Current is v7.1.2 https://github.com/nodejs/node-gyp/releases

@cclauss cclauss closed this as completed Dec 26, 2020
@cclauss cclauss added the ERR! node-gyp -v < v10.x.x npm install -g npm label Dec 26, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ERR! node-gyp -v < v10.x.x npm install -g npm
Projects
None yet
Development

No branches or pull requests

2 participants