List package installed with depth.
npm list -g --depth=0
sudo npm list -g --depth=0
npm install package on VirtualBox Shared folder.
Instead I clone source code to another repo (not shared folder) in virtual linux. Then install package, copy whole node_modules/package_name to shared project repo dir.
Because of I run node server on Linux guest. If I run on Host Windows then I re-install package on Windows. Because some package are OS depend ie. bcrypt...
npm list -g --depth=0
sudo npm list -g --depth=0
npm install package on VirtualBox Shared folder.
Instead I clone source code to another repo (not shared folder) in virtual linux. Then install package, copy whole node_modules/package_name to shared project repo dir.
Because of I run node server on Linux guest. If I run on Host Windows then I re-install package on Windows. Because some package are OS depend ie. bcrypt...
Comments
Post a Comment