You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
steveafrost
changed the title
Error when using npm run bundle or yarn run bundle
Error when using bundle script
Apr 16, 2017
When using
npm run bundle
oryarn 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 inpackage.json
. I've created a pull request that can be found here if this fixes the issue for you as well.The text was updated successfully, but these errors were encountered: