It looks like the npmrc (usually
Related, but obvious in hindsight: Make sure the HOME environment variable points to the directory containing
~/.npmrc) file needs to be chmod 0600 (owner only rw) before npm install will use any authToken contained within it. Running npm login sets this permission on the file.Related, but obvious in hindsight: Make sure the HOME environment variable points to the directory containing
.npmrc. If it's being changed, obviously npm will not be able to find the npmrc file.
Archives



