I'm just trying to set up my first Reapp project , but crashing on the first hurdle. I get a blank screen with a 404 console error main.js not found.
Here are the errors that I get when I make reapp run -d:
Building with Webpack...
Webpack server on http://localhost:3011
Hash: e779570c713250e7b167
Version: webpack 1.12.9
Time: 823ms
Asset Size Chunks Chunk Names
main.js 21.6 kB 0 main
chunk {0} main.js (main) 52 bytes [rendered]
[0] multi main 52 bytes {0} [built] [3 errors]
ERROR in multi main
Module not found: Error: Cannot resolve module 'webpack-dev-server/client' in /Applications/MAMP/htdocs/kitchen-sink-master
@ multi main
ERROR in multi main
Module not found: Error: Cannot resolve module 'webpack/hot/only-dev-server' in /Applications/MAMP/htdocs/kitchen-sink-master
@ multi main
ERROR in multi main
Module not found: Error: Cannot resolve module 'babel-loader' in /Applications/MAMP/htdocs/kitchen-sink-master
@ multi main
webpack: bundle is now VALID.
This question is very similar: Reapp error running sample Kitchen sink app
So, I tried the one suggested npm installin the project, which gives me the node_modules folder, but gives me the following errors:
npm WARN EPEERINVALID react-dom@0.14.3 requires a peer of react@^0.14.3 but none was installed.
npm WARN EPEERINVALID react-tap-event-plugin@0.1.8 requires a peer of fbjs@^0.2.1 but none was installed.
npm WARN EPEERINVALID reapp-ui@0.12.70 requires a peer of react@0.14.x but none was installed.
npm WARN EPACKAGEJSON reapp-kitchen@1.0.1 No license field.
I went to the response website to set a few more bits to npm install --save react react-dom babelify babel-preset-reactno avail, and now I'm stuck!
I think this may be due to my reactionary version, but I cannot figure out how to find which version I'm in.
- version for npm: 3.4.1
- webpack version: 1.12.9
- reapp: 0.8.28
- :