Answer the question
In order to leave comments, you need to log in
Is it possible to move the node_modules folder out of the project?
There was a need to move the node_modules folder from the project folder to somewhere else. How can this be done so that everything works as before?
Answer the question
In order to leave comments, you need to log in
Is there a global node_modules, doesn't it suit you? What are the reasons for this need?
well, as an option to set NODE_PATH=путь к папке
at startup, but this is a way to specify where else to look for modules. But this will not give you the option to change the folder where packages are installed.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question