carteb / carte-blanche

An isolated development space with integrated fuzz testing for your components. See them individually, explore them in different states and quickly and confidently develop them.
https://www.youtube.com/watch?v=6g3-TQ6aaw8
MIT License
1.5k stars 47 forks source link

Cannot find module carte-blanche-react-plugin #343

Closed lithin closed 8 years ago

lithin commented 8 years ago

When adding const ReactPlugin = require('carte-blanche-react-plugin'); to my webpack config, webpack doesn't build because it "Cannot find module carte-blanche-react-plugin". Node modules are installed properly, carte-blanche-react-plugin is installed in ./node_modules/carte-blanche/node_modules.

After npm i -s carte-blanche-react-plugin, everything works as expected.

This seems to be an issue only on certain devices - could be maybe some local settings? Has anyone had similar issues?

mxstbr commented 8 years ago

What's your npm version? I think this changed with the recent v3 update, but I'm not 100% sure.

lithin commented 8 years ago

You're right! Sorry didn't realise I'm still using an ancient version!

mxstbr commented 8 years ago

No worries, glad to know it's working now! :+1: