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


(Ether Dream) #1

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

(system) #2

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.