npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

npm install fails when there is a user named node_moules in the system.

What I Wanted to Do

What Happened Instead

npm install fails when there is a user named node_moules in the system.

Reproduction Steps

  1. add a system user named node_modules

  2. run npm install xx in /Users/**/**

Details

Platform Info

$ npm --versions
6.1.0
$ node -p process.platform
darwin