React Native and StoryBook

have someone used expo with storybook? I am trying to use both of them but keep getting too many errors
Solution:
i am closing it, it seems like an expo issue? Expo still not really compatible with pnpm although it has an option of creating with pnpm. All issue related to pnpm are still open and people still encounter the same problems. Pretty strange that expo doesnt address it anywhere.
Jump to solution
3 Replies
Bashamega
Bashamega9h ago
Please share the errors
choco
chocoOP9h ago
hi, when using default storybook files and running the app i get:
Starting Metro Bundler
TypeError: Body is unusable
TypeError: Body is unusable
at consumeBody (node:internal/deps/undici/undici:4281:15)
at _Response.json (node:internal/deps/undici/undici:4239:18)
at getNativeModuleVersionsAsync............
..........
..........
..........
 ELIFECYCLE  Command failed with exit code 1.
Starting Metro Bundler
TypeError: Body is unusable
TypeError: Body is unusable
at consumeBody (node:internal/deps/undici/undici:4281:15)
at _Response.json (node:internal/deps/undici/undici:4239:18)
at getNativeModuleVersionsAsync............
..........
..........
..........
 ELIFECYCLE  Command failed with exit code 1.
and app isnt booting up, but when i delete Button.stories and Button, app is booting up but with error that it cant find stories
No description
Solution
choco
choco2h ago
i am closing it, it seems like an expo issue? Expo still not really compatible with pnpm although it has an option of creating with pnpm. All issue related to pnpm are still open and people still encounter the same problems. Pretty strange that expo doesnt address it anywhere.
Want results from more Discord servers?
Add your server