question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Cannot find module 'react/addons' while using react-rails

See original GitHub issue

While 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:closed
  • Created 8 years ago
  • Comments:13 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
JedWatsoncommented, Oct 12, 2015

@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 😃

0reactions
dbecker215commented, Oct 16, 2015

@jossmac just got it back to working, thanks.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found