Cannot find module 'react/addons' while using react-rails
See original GitHub issueWhile using react-rails and properly turning addons
on (double checked via React.addons
) I keep getting a Cannot find module 'react/addons'
error on the console despise react loading the addons
.
Any ideas of where I should start looking for trouble? I’d gladly submit a PR if pointed in the right direction.
Issue Analytics
- State:
- Created 8 years ago
- Comments:13 (6 by maintainers)
Top Results From Across the Web
Rails, React, Browserify , react-rails gem - Cannot find module
I am following this great tutorial: setting-up-react-in-ruby-on-rails-part-1. I am getting this error: Error: Cannot find module xxx from ...
Read more >Cannot find component (Rails 5.1.2, webpacker, react-rails)
I'm trying to use react-rails with another library, but I'm having trouble. I've described my JavaScript management setup (eg, Sprockets, ...
Read more >cannot find module 'react-dom' - You.com | The AI Search ...
To solve the "Cannot find module 'react-dom'" error [1], you need to install the react-dom package by running the command 'npm install react-dom'...
Read more >Rails and React: Fixing "Module not found" errors for JSX files
The error seems to be that the JSX (the HTML-in-Javascript template language used by React) could not be compiled. But JSX should come...
Read more >How to Create and Publish a React Component Library
All code from this tutorial as a complete package is available in this repository. If you are interested in a video version of...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@gotjosh I just published an update for React 0.14, which now has
react-addons-css-transition-group
as a standalone package. So there’s a very good chance that if you update to that, this problem will go away 😃@jossmac just got it back to working, thanks.