react-toolbox / react-toolbox-example

Example using react-toolbox
143 stars 97 forks source link

Cannot find react-style-proptype modules #43

Open kopasetik opened 7 years ago

kopasetik commented 7 years ago

When I run npm install, then npm start, this happens.

ERROR in ./~/react-toolbox/lib/checkbox/Checkbox.js
Module not found: Error: Can't resolve 'react-style-proptype' in '/Users/waleo/Code/ya-pack/node_modules/react-toolbox/lib/checkbox'
 @ ./~/react-toolbox/lib/checkbox/Checkbox.js 38:26-57
 @ ./~/react-toolbox/lib/checkbox/index.js
 @ ./~/react-toolbox/lib/index.js
 @ ./src/frontend/index.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server react-hot-loader/patch ./src/frontend/index.js

ERROR in ./~/react-toolbox/lib/checkbox/Check.js
Module not found: Error: Can't resolve 'react-style-proptype' in '/Users/waleo/Code/ya-pack/node_modules/react-toolbox/lib/checkbox'
 @ ./~/react-toolbox/lib/checkbox/Check.js 15:26-57
 @ ./~/react-toolbox/lib/checkbox/index.js
 @ ./~/react-toolbox/lib/index.js
 @ ./src/frontend/index.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server react-hot-loader/patch ./src/frontend/index.js

ERROR in ./~/react-toolbox/lib/slider/Slider.js
Module not found: Error: Can't resolve 'react-style-proptype' in '/Users/waleo/Code/ya-pack/node_modules/react-toolbox/lib/slider'
 @ ./~/react-toolbox/lib/slider/Slider.js 32:26-57
 @ ./~/react-toolbox/lib/slider/index.js
 @ ./~/react-toolbox/lib/index.js
 @ ./src/frontend/index.js
 @ multi (webpack)-dev-server/client?http://localhost:8080 webpack/hot/dev-server react-hot-loader/patch ./src/frontend/index.js
kopasetik commented 7 years ago

If you install react-style-prototype and redux@latest npm modules, it works!

I will add them to the package.json via a pull request 🙂

vviikk commented 6 years ago

@kopasetik small typo in your message. it's react-style-proptype