Address redbox-react package version issue #22
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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:
In addition, this prevents the
Hello
component from rendering.In this case
react-transform-catch-errors
usesredbox-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 ofredbox-react
to fix the error.Resolves #21.
/cc @cesarandreu