在Webpack Starter中找不到节点模块

时间:2016-03-18 09:12:30

标签: angular

我已安装节点5.8.0 ,但在使用节点启动时会收到以下错误。对 新手 的任何帮助?

Error: Cannot find module '/Users/lukashillebrand/Sites/angular2-webpack-starter/start'
at Function.Module._resolveFilename (module.js:339:15)
at Function.Module._load (module.js:290:25)
at Function.Module.runMain (module.js:447:10)
at startup (node.js:142:18)
at node.js:939:3

1 个答案:

答案 0 :(得分:2)

你打算过这个吗?

npm install typings webpack-dev-server rimraf webpack -g

# install the repo with npm
npm install

# start the server
npm start