dimanche 20 avril 2014

npm install directory in Windows is not as I expected


Vote count:

0




I'm trying to install npm modules locally but the path where they are installed is weird.


for example, Running 'npm install mocha' in c:\user\administrator\my-project,


I expect it to be installed in c:\user\administrator\my-project\node-modules...


but it is installed in c:\user\administrator\node-modules...


Is there anything I have to configure?



asked 1 min ago






Aucun commentaire:

Enregistrer un commentaire