Comments (4)
what was the error you got? please provide the stack trace
from storybook.
No errors in the console (the express app works), but the browser console shows:
http://localhost:9001/screen.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:9001/index.js Failed to load resource: the server responded with a status of 404 (Not Found)
http://localhost:9001/screen.css Failed to load resource: the server responded with a status of 404 (Not Found)
This is because the static files middleware is taking precedence over the webpack middlewares and failing to load the built files.
from storybook.
Hmm. I can't reproduce this issue.
Could you send some way, I can reproduce this error.
from storybook.
Ah found the problem, my static file directory had an index.html which was being served by the static middleware. Renaming this file (to something other than index.html
) resolved the problem.
from storybook.
Related Issues (20)
- [Documentation]: Add documentation for manual storybook setup without `npx storybook init` HOT 2
- [Bug]: infinite paths on Add a new story: ENAMETOOLONG. Function unavailable HOT 5
- [Bug]: `process.env` is undefined (8.1.7) HOT 2
- [Bug]: Getting signal SIGSEGV when building Next.js with Nx HOT 2
- [Bug]: I'll guide you through troubleshooting the issue with installing Storybook. HOT 8
- [Bug]: After pressing the "Reset" button, the object editor adds new object properties - ones that would give compilation errors when trying to change them using TS code
- [Documentation]: Unable to render markdown files converted to mdx files in Docs
- [Bug]: The storybook 7.6.* version depends on the highly vulnerable ip package HOT 3
- [Bug]: Connection lost Lost connection to the Storybook server. Try refreshing the page. HOT 10
- [Bug]: Setting theme for DocsContainer dynamically breaks styles
- [Bug]: when I use JSX in CSF,the show code is not work well
- Add beforeAll hook to Storybook
- [Bug]: fast refresh is very slow when using `react-docgen-typescript` since `v8.1.0` HOT 2
- [Bug]: Show missing `vite.config.js` file in migration notification while the `vite.config.ts` exists HOT 1
- [Bug]: Unable to Mock Modules in Storybook HOT 3
- [Bug]: a11y-addon - APCA Contrast check - Can't pass custom evaluate function to rule
- [Bug]: Package exports are not properly interpreted in a mono-repo setup
- [Bug]: Unable to add storybook to existing nextjs project HOT 1
- [Bug]: previewMainTemplate Option Ignored, Default Template Used Instead
- [Bug]: RollupError: "createRequire" is not exported by "__vite-browser-external" HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from storybook.