jeudi 2 avril 2015

Installing locally with NPM and filesystem restrictions

I have a NodeJS project.


/home/projects/myproject/


From inside of myproject, I have installed a bunch of npm modules locally. I see these in


/home/projects/myproject/node_modules


Now I want to copy myproject to a different place on the filesystem.


/home/otherprojects/myproject


Will this create any problems for the locally installed npm modules? IOW would it be safer to install all of my npm modules globally? (I am unclear if installing them locally in any way ties them to that particular path)


Thanks (in advance) for your help.


Aucun commentaire:

Enregistrer un commentaire