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

Error when using bundle script #4

Closed
steveafrost opened this issue Apr 16, 2017 · 0 comments
Closed

Error when using bundle script #4

steveafrost opened this issue Apr 16, 2017 · 0 comments

Comments

@steveafrost
Copy link
Contributor

When using npm run bundle or yarn run bundle to execute Browserify script, the following error comes up.

Error: Cannot find module 'react-test-renderer/shallow' from '/Users/stevefrost/Development/react-updating-state-lab-v-000/node_modules/enzyme/build'

This is fixed by adding react-test-renderer as a devDependencies in package.json. I've created a pull request that can be found here if this fixes the issue for you as well.

@steveafrost steveafrost changed the title Error when using npm run bundle or yarn run bundle Error when using bundle script Apr 16, 2017
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

1 participant