Should npm have a global installation in AppData \ Roaming?

I am trying to install Jade globally using npm so that I can use the Jade observer in WebStorm.

 npm install jade --global 

However, I can only find jade.cmd in:

 ...\AppData\Roaming\npm 

and

 ...\AppData\Roaming\npm\node_modules\jade-watch\node_modules\.bin\jade.cmd 

This does not seem to be correct ... there should be no entry in the Program Files Can I link?

+5
source share
1 answer

I also disagree with this strategy ...

There is some sense and justification, but I would prefer that the modules installed all over the world remain in the NPM folder.

But it seems like this is a big discussion, see here → @github

0
source

Source: https://habr.com/ru/post/1202714/


All Articles