-
Notifications
You must be signed in to change notification settings - Fork 257
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
React 15.4.0 breaks npm start #16
Comments
Hi @tristau thank you for reporting the issue. It's indeed caused by the For any project created by Rekit you need to fix the issue yourself because you fully own the project once it's created, this is how Rekit was designed. There is some discussion at gaearon/react-hot-loader#417 where you can find information about how to fix the issue. The solution is to upgrade to react-hot-loader 3.0-beta, here is a guide: https://github.com/gaearon/react-hot-loader/tree/next-docs/docs However I have to admit it's my mistake not using I'm also working on updating Rekit to use 3.0 so that new created projects won't have the problem. |
I've just updated Rekit to use RHL 3.0, you could refer to the commit to fix your own project: 1d2b1a1 |
Fix by |
Hi @supnate, thanks for incredible project! You made a typo in the rekit deps file that breaks the creation of new application. I made a stupid pull request that delete a y char. supnate/rekit-deps#1 Thanks 😄 |
After fix the rekit-deps issues. I create a application correctly, then when i run npm start i got errors in proptypes of each class and with the message "Module build failed: SyntaxError: Missing class properties transform." Searching on internet i found this issue of babel babel/babel#2729, the solution was reorder the presets array in package.json as: "presets": [ I made a pull-request #17 with that stupid fix. The errors output were: 4 |
@ ./src/common/routeConfig.js 7:11-39 ERROR in ./src/components/SimpleNav.js 8 |
@ ./src/components/index.js 8:17-39 ERROR in ./src/features/home/DefaultPage.js 6 |
@ ./src/features/home/index.js 8:19-43 ERROR in ./src/features/home/RedditList.js 2 |
@ ./src/features/home/index.js 16:18-41 ERROR in ./src/features/home/TestPage2.js 5 |
@ ./src/features/home/index.js 24:17-39 ERROR in ./src/features/home/TestPage1.js 5 |
@ ./src/features/home/index.js 20:16-38 |
Hi @brolin , |
Hi @supnate I checked again and today all works perfectly. Thanks, best regards! |
Thanks for the info and fix @supnate. Rekit is a great project and has helped tremendously in learning and using react/redux. |
The new React 15.4.0 drop seems to have broken things. It looks like they removed all of ReactDOM from React, but I'm not sure what is breaking. My guess is it is the react-hot-api.
Failed to compile.
Error in ./src/index.js
Module not found: Error: Cannot resolve module 'react/lib/ReactMount' in ...
The text was updated successfully, but these errors were encountered: