This repository has been archived by the owner on Aug 11, 2022. It is now read-only.
npm install -g creating folder called Password: everytime #3922
Comments
Still an issue. Needs looking into ASAP as I can't install the Node.js module I need. |
I got it fixed by changes global npm configuration ➜ local git:(master) ✗ npm config ls -l | grep config
; cli configs
; globalconfig /usr/local/etc/npmrc
; builtin config undefined
globalconfig = "/usr/local/etc/npmrc"
userconfig = "/Users/ravindrakumar/.npmrc"
➜ local git:(master) ✗ cat /usr/local/etc/npmrc
prefix = Password:/usr/local
I editted npmrc now its working properly
|
what's inside your .npmrc? is it prefix = Password:/usr/local ? |
Yes, then i replaced with "/usr/local" then everything started working normally |
Works for me too! my .npmrc is prefix=/usr/local NOT prefix=Password:/usr/local |
No npmrc in |
Thanks! It works for me too cat ~/.npmrc |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Here is the commands i used
I tried completely removing the node and installed again.still i am having same issue.
The text was updated successfully, but these errors were encountered: