简体   繁体   中英

Local node_modules in different location

I'm working on an Angular project on a distante machine via a VM and I'm oblige to delete the node_modules folder before closing my session. If not, loading my profile will crash because of the node_modules size (400Mb).

Is there any way to save node_modules in another location and use it in my project?

To my knowledge there is no way to do this. However, even if there was I believe it would be the wrong solution.

I've have plenty of experience of working remotely on vms and there is no reason why this 400mb folder should crash your system.

Get the system administrator to fix this issue instead

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM