Can't resolve fs when running npm run storybook
See original GitHub issueDescribe the bug
Out of the blue, the command npm run storybook
started to throw this error. Didn’t change anything in between, besides changes of some stories of mine.
Expected behavior Not throw errors of any kind and start the project.
Screenshots
System:
- OS: Windows10
- Device: ASUS
- Browser: chrome
- Framework: react
- Version: “@storybook/react”: “^5.0.10”
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (1 by maintainers)
Top Results From Across the Web
Storybook couldn't resolve fs - Stack Overflow
Depending on the webpack version you are using to build your Storybook you need to add fs , stream and other Node core...
Read more >Webpack - Storybook
Storybook is a frontend workshop for building UI components and pages in isolation. Thousands of teams use it for UI development, testing, and...
Read more >Module not found: Can't resolve 'fs' error [Solved] | bobbyhadz
The error Module not found: Error: Can't resolve 'fs' occurs because there has ... Once you run the npm run eject command, a...
Read more >How To Solve Module Not Found Can't Resolve 'fs' in Next.js
The Module not found: Can't resolve 'fs' error and similar issues most likely occur when you try to import a module that is...
Read more >can't resolve 'fs' in vue | The AI Search Engine You Control
git clone https://github.com/adamchenwei/boilerplate-webpack-babel-sass-storybook-vuejs; git checkout broken/start-after-storyshot-setup; npm install && npm run ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@npattarone what was the mistake you made ?
The pain of finding the same resolved issue im facing but without the resolution
For
fs
!