nodists / nodist

Natural node.js and npm version manager for windows.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After removing nodist, npm install error: "EPERM: operation not permitted, mkdir 'C:\Program Files (x86)\Nodist'

thohan opened this issue · comments

commented

After uninstalling nodist, I get the error in the title when running npm install (with nvm). I don't see anything amiss in the env/path variables. I'm guessing there is something lingering in the registry. No idea why a seemingly nodist-free environment would try to do a mkdir. This is on Windows 10.

commented

I see an issue that looks similar to mine. I'll read that and then close this if that's applicable.

commented

I thought issue #196 might have the answer, but as I look at my .npmrc file, it just has the following:

save-prefix = ~
legacy-bundling = true

and the result is the same even if I remove these settings. I'm stumped.

commented

For what it's worth, I tried installing 0.9.0 and 0.9.1 at different times, and with both I got this error message toward the end of the install process:

PATH not updated, original length 2172 > 1024

commented

Ahh, ok. It helps to edit the correct .npmrc. From a different thread:

Check the .npmrc file in your windows user home directory, e.g. C:\Users\your-name-here\.npmrc

So I commented out the single line and that did the trick. I didn't even know a .npmrc file lived there but I do now.