New filters on the Home Feed, take a look!
view details

This post has been de-listed

It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.

1
Can't get Storybook to work in my react native project
Post Flair (click to view more posts with a particular flair)
Post Body

Hello;

Thank you for taking the time to read my post, I have a react native project I was working on, then I thought it would be good to add storybook to help me document the project as I go along, so I tried to install it following this tutorial, this didn't work.

I have been trying to install it and get it to work for two days without success. even though I followed several tutorials, is there something I'm missing here?

Can someone please give me the steps I need to do to install Storybook in an already existing react native project?

Thank you very much in advance

Edit:

Here's more information and details about the steps I followed:

1- I started by running the command as you can see in this - here

2- I choose Yes when it asked me if I want to install @storybook/react-native-server - here

3- It asked me if I want to run the "npm7" migration on my project and I choose yes - here

4- I replaced the code in my App.jsx with export { default } from './storybook' - here

5- I ran npm run storybook and I got an error that you can see - here

Author
Account Strength
100%
Account Age
9 years
Verified Email
Yes
Verified Flair
No
Total Karma
17,695
Link Karma
17,333
Comment Karma
271
Profile updated: 3 days ago
Posts updated: 6 months ago

Subreddit

Post Details

We try to extract some basic information from the post title. This is not always successful or accurate, please use your best judgement and compare these values to the post title and body for confirmation.
Posted
1 year ago