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
@storybook/addon-ondevice-knobs does not support React Native >= 0.56 due to its dependency on react-native-modal-datetime-picker. My Storybook in React Native is working great until attempting to introduce knobs. Attempting to use knobs results in this error:
Error: We don't know what to do with this node type. We were previously a Statement but we can't fit in here?
Hey @erikthedeveloper, there is #4425 opened some time ago. Did you try out version 6 and it helped? It didn't break anything else? We could just update the dependency then.
Hi everyone! Seems like there hasn't been much going on in this issue lately. If there are still questions, comments, or bugs, please feel free to continue the discussion. Unfortunately, we don't have time to get to every issue. We are always open to contributions so please send us a pull request if you would like to help. Inactive issues will be closed after 30 days. Thanks!
Describe the bug
@storybook/addon-ondevice-knobs
does not support React Native >= 0.56 due to its dependency onreact-native-modal-datetime-picker
. My Storybook in React Native is working great until attempting to introduce knobs. Attempting to use knobs results in this error:https://github.com/storybooks/storybook/blob/d9cd83c2d5e1d160effdc6f51d1dd19a279b5028/addons/ondevice-knobs/package.json#L28
This has been fixed/release in https://github.com/mmazzarolo/react-native-modal-datetime-picker/releases/tag/v6.0.0 see merged PR mmazzarolo/react-native-modal-datetime-picker#171 and original reported issue react-native-modal/react-native-modal#178
Upgrading
react-native-modal-datetime-picker
to6.0.0
should fix the problem.To Reproduce
Steps to reproduce the behavior:
Expected behavior
App should build/run. Knobs should work.
Screenshots:
System:
The text was updated successfully, but these errors were encountered: