Skip to content
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

Uncaught Error: imports[1] for react-transform-catch-errors does not look like a React component. #2

Closed
grantnorwood opened this issue Jun 22, 2016 · 2 comments

Comments

@grantnorwood
Copy link

grantnorwood commented Jun 22, 2016

When running npm run dev and loading the example project in my browser at http://localhost:3000/ I'm getting an error in my console:

(index.js:67) Uncaught Error: imports[1] for react-transform-catch-errors does not look like a React component.

However, running npm run production indeed works normally without errors. Could you please advise me how I can fix this? The error is thrown from within node_modules/react-transform-catch-errors but I'm not doing a very good job following the call stack to find the root cause of the problem in the example app.

Thank you so much!

@catamphetamine
Copy link
Owner

npm install redbox-react@1.2.6 --save-dev

@grantnorwood
Copy link
Author

Thank you for such a quick response :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants