2

I am working on lots of nodejs application and I save all my project on Google Drive (for a personal reasons, not efficiency) but I don't like that my drive is filled with thousands of similar modules that live inside node_modules folder.

I was hoping if there is a way to have modules reside outside the project's file.

I am using Windows 10, and I installed nodejs for windows.

Thanks

entegra
  • 305
  • 1
  • 3
  • 9

1 Answers1

1

Just install your modules globally, e.g., "npm install module-name --global". Keep in mind you'll have to synchronize dependencies in different machines.

diogo
  • 69
  • 1
  • 8