I am new to NodeJS and I need to install node packages globally on a machine which does not have internet connection.
I am thinking of copying the packages from C:\Users\USER_ID\AppData\Roaming\NPM path on my local box (which already have some packages installed globally) to C:\Users\USER_ID\AppData\Roaming\NPM on a remote windows 2012 server.
I have following questions:
- Will copying folder like this would work? If yes, is there any potential risk?
- Is there other way to install the packages on a machine which is not connected through internet?
- I am using a windows 2012 server. Assuming copying global npm packages solution works, since I am copying packages under my userid, would it work for other users?