How do I get it so that node modules install into the current directory?
I have tried to google it and it says that simply running:
npm install
Should work. But this seems to always install to the user's home directory. How do I change this?
Thanks.
How do I get it so that node modules install into the current directory?
I have tried to google it and it says that simply running:
npm install
Should work. But this seems to always install to the user's home directory. How do I change this?
Thanks.
Needed package.json file. Otherwise it will use the default node_modules folder... On my system it was set to user home folder.