eftalyurtseven / react-native-wheel-of-fortune

React Native Wheel of Fortune Plugin
103 stars 89 forks source link

Error while using the library: require('../assets/images/knob.png') #19

Closed alexandruionascu closed 3 years ago

alexandruionascu commented 3 years ago

I think the knob asset is no longer in the folder, no matter if you specify the knobSource or not, the require seem to fail.

thomas-cruz commented 3 years ago

I'm getting this error too. I haven't found any work arounds unfortunately

alexandruionascu commented 3 years ago

The workaround I found is to create a local copy of the module and change that asset. The library is great, but I suggest some additional fixes, like this one, and also some responsiveness would be great.

fergusonjason commented 3 years ago

I'm getting the same error.

ownsupernoob2 commented 3 years ago

Hello, sorry for the late response. The Author way of answering it was confusing so here you go. Go to node_modules then to react-native-wheel-of-fortune go to folder assets then images then add this image and there you good to go.