"scripts": { "start": "NODE_PATH=$NODE_PATH:./shared node","dev": "npm run start & webpack-dev-server --progress --color" },
当我在Windows 8中运行npm start时,它显示以下错误:
node_path is not recognized as a internal or external command,operable program or batch file
{ "scripts" : "node server.js" }
或者定义你想要的东西,here是参考链接.