Answer the question
In order to leave comments, you need to log in
Can npm on the server be used on a per-project basis?
Started learning NODEJS and wondered. On Win in PHPStorm, for example, node_modules is created in each project and stored only there. Having installed NODEJS and npm on the Ubuntu server, I understand that now everything that is installed through npm will be in the same system folder, where was npm installed? Or are there options, like in a storm, to assign modules clearly to one project, for example, in /usr/share/nginx and not make a mess of modules if there are several applications on the same server?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question