LTZX / EmployeeCRUD-React

Libra intern technical assignment
0 stars 0 forks source link

ReactJS Tutorial app Problem #1

Open LTZX opened 7 years ago

LTZX commented 7 years ago

XXXs-MacBook:reactApp XXX$ npm start

employeeapp@1.0.0 start /Users/XXX/Desktop/reactApp webpack-dev-server --hot

Invalid configuration object. Webpack has been initialised using a configuration object that does not match the API schema.

npm ERR! Darwin 16.5.0 npm ERR! argv "/usr/local/bin/node" "/usr/local/bin/npm" "start" npm ERR! node v6.10.2 npm ERR! npm v3.10.10 npm ERR! code ELIFECYCLE npm ERR! employeeapp@1.0.0 start: webpack-dev-server --hot npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the employeeapp@1.0.0 start script 'webpack-dev-server --hot'. 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 employeeapp package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! webpack-dev-server --hot npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs employeeapp npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls employeeapp npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! /Users/XXX/Desktop/reactApp/npm-debug.log

LTZX commented 7 years ago

Trying to learn ReactJS. On tutorialspoint for ReactJS, I followed the environment setup part, but when I tried ">npm start", it reports this.