robinrendle / react-css-modules-boilerplate

React and CSS Modules Boilerplate
41 stars 7 forks source link

Error running "npm start" #4

Open matthewberkompas opened 8 years ago

matthewberkompas commented 8 years ago

@robinrendle, just thought you should know that running npm start currently gives this error:

sh: webpack-dev-server: command not found

npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "run" "dev"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.8
npm ERR! file sh
npm ERR! code ELIFECYCLE
npm ERR! errno ENOENT
npm ERR! syscall spawn
npm ERR! css-tricks-modules@1.0.0 dev: `webpack-dev-server --progress --colors`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the css-tricks-modules@1.0.0 dev script 'webpack-dev-server --progress --colors'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the css-tricks-modules package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack-dev-server --progress --colors
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs css-tricks-modules
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls css-tricks-modules
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /Users/.../react-css-modules-boilerplate/npm-debug.log

npm ERR! Darwin 16.0.0
npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start"
npm ERR! node v6.7.0
npm ERR! npm  v3.10.8
npm ERR! code ELIFECYCLE
npm ERR! css-tricks-modules@1.0.0 start: `webpack && npm run dev`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the css-tricks-modules@1.0.0 start script 'webpack && npm run dev'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the css-tricks-modules package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     webpack && npm run dev
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs css-tricks-modules
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls css-tricks-modules
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: