This may be a silly question but I have installed node on my computer and have been running tasks for creating my sass which means I have a node_modules
folder within my project folder and I'm wondering if I need to upload the node_modules
folder to my live server or not?
答案 0 :(得分:0)
You should make sure that your server had installed node.js if you want to run node.js project on your server and you can use 'npm install' to install the modulars of the package.json.
答案 1 :(得分:0)
Tipically you must:
npm init
. You execute this in a folder containing node_modules.npm install