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

NotFound [Error]: Not found: /serviceWorker.js #320

Open
byebaibai opened this issue Feb 26, 2025 · 4 comments
Open

NotFound [Error]: Not found: /serviceWorker.js #320

byebaibai opened this issue Feb 26, 2025 · 4 comments

Comments

@byebaibai
Copy link

byebaibai commented Feb 26, 2025

Describe the bug
After npm run dev, in localhost:3000 when click some buttons, terminal received 404

Version
3.1.9 (fadb563337ba9ce3c65688af1c3201cecb68ee08)
nodejs: v18.18.1
macOS: 15.0 (24A335)
npm: 9.8.1

Screenshots
Image

@rajnandan1
Copy link
Owner

Is it breaking the site?

@byebaibai
Copy link
Author

No, but the website response is quite slow

@rajnandan1
Copy link
Owner

in npm run dev it will be a little slow, once you build using npm run build and then npm run start do you see if it is slow?

@byebaibai
Copy link
Author

Yes, npm run start worked, but it also triggered the following error:

NotFound [Error]: Not found: /serviceWorker.js
    at resolve2 (file:///Users/byebai/Applications/kener/build/server/index.js:4058:18)
    at resolve (file:///Users/byebai/Applications/kener/build/server/index.js:3885:34)
    at #options.hooks.handle (file:///Users/byebai/Applications/kener/build/server/index.js:4124:71)
    at respond (file:///Users/byebai/Applications/kener/build/server/index.js:3883:43)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5) {
  status: 404
}

While this doesn’t seem to affect functionality right now.

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