DEV Community

Discussion on: Setting up Storybook for React Native/TypeScript (server, loader, iOS, Android)

Collapse
 
rajatgang07 profile image
RajatGang07

I had followed the same steps and getting an error of React Native Storyshots - RangeError: Maximum call stack size exceeded

Collapse
 
davidapears profile image
David Pears

in ios>Podfile change hermes_enabled from 'true' to 'false' - seemed to fix this:

use_react_native!(
:path => config[:reactNativePath],
# to enable hermes on iOS, change
falsetotrueand then install pods
:hermes_enabled => false
)

Collapse
 
risafj profile image
Risa Fujii

I don't cover Storyshots in this article so I'm not sure :/
You might have better luck asking in their Github issue or on Stack Overflow.

Collapse
 
sankar profile image
Sankar

Disable the Hermes (enableHermes: false) in build.gradle file. It will work