maxfarseer / redux-ru-tutorial

Внимание, вторая версия туториала (2018й год) здесь ->
https://github.com/maxfarseer/redux-course-ru-v2
125 stars 59 forks source link

Не запускается проект #6

Open Greyewi opened 7 years ago

Greyewi commented 7 years ago

Прохожу ваш курс и ошибка появилась на данном моменте https://maxfarseer.gitbooks.io/redux-course-ru/content/es2015,_react_hmr.html При запуске npm start выдает

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

npm ERR! Windows_NT 6.1.7601 npm ERR! argv "C:\Program Files\nodejs\node.exe" "C:\Program Files\nodejs\node_modules\npm\bin\npm-cli.js" "start" npm ERR! node v7.8.0 npm ERR! npm v4.2.0 npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! redux-tutorial@1.0.0 start: node server.js npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the redux-tutorial@1.0.0 start script 'node server.js'. 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 redux-tutorial package, npm ERR! not with npm itself. npm ERR! Tell the author that this fails on your system: npm ERR! node server.js npm ERR! You can get information on how to open an issue for this project with: npm ERR! npm bugs redux-tutorial npm ERR! Or if that isn't available, you can get their info via: npm ERR! npm owner ls redux-tutorial npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request: npm ERR! C:\Users\Greyewi\AppData\Roaming\npm-cache_logs\2017-06-28T18_26_21_343Z-debug.log

Elvaleryo commented 7 years ago

преустанови webpack на более раннюю версию npm uninstall webpack --save-dev npm install webpack@2.1.0-beta.22 --save-dev

martrix78 commented 6 years ago

и получаем следующую ошибку ERROR in ./src/index.js Module build failed: TypeError: fileSystem.statSync is not a function at module.exports (/var/www/react/node_modules/babel-loader/lib/utils/exists.js:7:25) at find (/var/www/react/node_modules/babel-loader/lib/resolve-rc.js:13:9) at Object.module.exports (/var/www/react/node_modules/babel-loader/lib/index.js:113:132) @ multi main