Hi, I started to use this package and it seems that it got an issue with package.json file. Looks like whenever I start to run yarn add react-simple-wheel-picker and immediately run yarn with the component ready to render and it crash, because it says:
ERROR in ./node_modules/react-simple-wheel-picker/dist/components/WheelPickerItem.js
Module not found: Error: Can't resolve 'styled-components' in '<my-root-path-to-cloned-repo>/react-simple-wheel-picker/example/node_modules/react-simple-wheel-picker/dist/components'
@ ./node_modules/react-simple-wheel-picker/dist/components/WheelPickerItem.js 11:41-69
@ ./node_modules/react-simple-wheel-picker/dist/components/WheelPicker.js
@ ./node_modules/react-simple-wheel-picker/dist/index.js
@ ./src/Form.tsx
@ ./src/App.tsx
@ ./src/index.tsx
ℹ 「wdm」: Failed to compile.
It's logical to think that this is related with the styled-components package inside. I proceeded to dig-up and did npm i styled-components, waited to compile and done, fixed.
This is what it changed from package, nothing more. This is though avoiding to proceed the use of the package, the example has same issue as root.
Hi, I started to use this package and it seems that it got an issue with package.json file. Looks like whenever I start to run
yarn add react-simple-wheel-picker
and immediately runyarn
with the component ready to render and it crash, because it says:It's logical to think that this is related with the
styled-components
package inside. I proceeded to dig-up and didnpm i styled-components
, waited to compile and done, fixed.This is what it changed from package, nothing more. This is though avoiding to proceed the use of the package, the example has same issue as root.