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

Address redbox-react package version issue #22

Closed
wants to merge 1 commit into from

Conversation

dskecse
Copy link

@dskecse dskecse commented Jan 30, 2018

After cloning the repo, installing dependencies, starting a server and opening the app in the browser one gets the following error in the browser console:

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

In addition, this prevents the Hello component from rendering.

In this case react-transform-catch-errors uses redbox-react to render error messages but fails to do this due to incompatibilities between the two packages, since the former is already deprecated and hasn't been maintained for almost 2 years. This PR changes the caret range version specification to the exact version of redbox-react to fix the error.

Resolves #21.

/cc @cesarandreu

* Resolves the "Uncaught Error: imports[1] for react-transform-catch-errors does
  not look like a React component." error.
@dskecse dskecse closed this Nov 22, 2023
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

Successfully merging this pull request may close these issues.

Error with Redbox npm install
1 participant