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

JS Paint has blocking 404 errors via "npm serve" #534

Open
WilmeRWubS opened this issue Feb 16, 2025 · 5 comments
Open

JS Paint has blocking 404 errors via "npm serve" #534

WilmeRWubS opened this issue Feb 16, 2025 · 5 comments
Milestone

Comments

@WilmeRWubS
Copy link

Anyone else that noticed these errors?

The files that are being requested with the 404 errors are clearly in the project, yet it can't grab these?
Not sure if this is just an issue for me, or if anyone else has noticed this.

@DustinBrett
Copy link
Owner

Can you show how you are running the code? Also can you show the requests on DevTools to see which URL it is trying?

You need to run the code via yarn dev and then visit http://localhost:3000/

@DustinBrett DustinBrett modified the milestones: P1, Recreate Feb 16, 2025
@WilmeRWubS
Copy link
Author

@DustinBrett

It seems yarn dev does indeed work, my bad, forgot to check this out.

yarn build:prebuild
yarn dev

The error occurs for:

yarn build
yarn serve

Was that expected anyway? Sorry for taking up your time, not too sure about the differences.

@DustinBrett
Copy link
Owner

Glad yarn dev worked, as for yarn serve not working, I can look into that. I actually don't use that in production myself so never ran into it. I just build and deploy the out folder directly.

@DustinBrett DustinBrett changed the title selfhosting 404 errors for apps like paint and irc npm serve causing 404 errors for apps like paint and irc Feb 17, 2025
@WilmeRWubS
Copy link
Author

@DustinBrett Thanks for your response. While yarn dev does actually work better, I can see a 404 pop up for some applications. In the screenshot I'll send an example. The application does load but fails to load the language for the user I geus.

Image

@DustinBrett
Copy link
Owner

I see, it is true I removed non-English languages from JS Paint. But I didn't think it would cause blocking 404's.

@DustinBrett DustinBrett changed the title npm serve causing 404 errors for apps like paint and irc JS Paint has blocking 404 errors via "npm serve" Feb 18, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants