Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

don't know why http://localhost:6006/stories.json always 404 #32

Closed
yolio2003 opened this issue Oct 5, 2021 · 3 comments
Closed

don't know why http://localhost:6006/stories.json always 404 #32

yolio2003 opened this issue Oct 5, 2021 · 3 comments
Labels
bug Something isn't working can't reproduce Unable to reproduce help wanted Extra attention is needed windows

Comments

@yolio2003
Copy link

yolio2003 commented Oct 5, 2021

as title said when running yarn storybook

node 16
windows 10
chrome

after open browser
there is a 404 error on network

and console error shows:

GET http://localhost:6006/stories.json 404 (Not Found)
Uncaught (in promise) SyntaxError: Unexpected token < in JSON at position 0

[vite] connecting...
[vite] connected.

Uncaught SyntaxError: The requested module '/@fs/***/node_modules/slash/index.js?v=08316dd6' does not provide an export named 'default'

@bensmithett
Copy link
Owner

Hey @yolio2003 sorry for the late reply, I didn't have my notifications set up right!

I can't reproduce this. Have you made many changes from the template? Does it happen if you clone this repo directly?

I can't test on windows unfortunately. I appreciate any more info you can give me.

@bensmithett bensmithett added help wanted Extra attention is needed windows bug Something isn't working labels Oct 29, 2021
@bensmithett bensmithett added the can't reproduce Unable to reproduce label Feb 1, 2022
@Moshyfawn
Copy link
Contributor

It might've been the ESM vs CJS issue, actually, like nodejs/node#32137. Maybe fixed with the latest version?

@bensmithett
Copy link
Owner

@Moshyfawn could have been, cheers. I'll close for now, if anyone has the same issue feel free to reopen.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working can't reproduce Unable to reproduce help wanted Extra attention is needed windows
Projects
None yet
Development

No branches or pull requests

3 participants