javascript – How can I take away a node module from storybook dependency


So mainly I can’t run my Storybook app. I eliminated the @react-native-community/slider library from undertaking, nevertheless it retains including it in node_modules, in @storybook dependency. In @storybook it is generated a folder referred to as addon-ondevice-controls, and beneath it a folder referred to as varieties the place generates a file Quantity.js. On this file i can see the library imported and that i dont know why.

1-> delete node_modules by: rm -rf node_modules

2-> delte Pods folder inside ios folder: cd ios rm -rf Pods

3-> clear metro bunder: rm -rf ${TMPDIR:-/tmp}/metro-*

4-> reset cache npx react-native begin –reset-cache

Put in node_modules once more

1-> npm set up

2-> cd ios

3-> pod set up

4-> npx react-native run-ios

Related Articles

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Latest Articles