I'm try to create my libary follow this steps on Storybook' site:
npx create-react-app taskbox
cd taskbox
npx -p @storybook/cli sb init
When I run "npm start" the app works fine, but when I run "npm run storybook" I'm given this error on terminal:
I'm using node 16.13.1
Help me please.
UPDATE
From this post it seems that the following tactics worked:
npm i --save-dev @storybook/react
npm i -D @storybook/cli
Some also say you need to re install your node modules using:
npm install
and then using this instead after: npm start-storybook
it seems like the tech has some faults and the bulk of the people said :
I kind of solved the issue. I think the issue was due to the file system. I restarted my system and then again reinstalled storybook. Worked like a charm.