404 error on /dist/*.js files after rebuild nuxt (SSR mode)

siberiadev
5
siberiadev
commented a year ago

Version

v2.4.3

Reproduction link

https://test

Steps to reproduce

npm run build

What is expected ?

Client can access all files of the project

What is actually happening?

Every time when we rebuild our project on server we got same problem with some of JS files. Actually all files are available in dist/client. But somehow nuxt can't find it. Then after 3-5 hours it comes in normal condition. Maybe it has any cache features I don't?
Thanx for help.

bug
0
manniL
7.0k
manniL
commented a year ago

This highly depends on your setup. By default, all files are accessible after the build and start process. Maybe a CDN that caches the files might help? ๐Ÿค”

However, this isn't a Nuxt issue and hard to debug without further information, your setup or even access to the servers.

0
Informations
Bug Report โ€ข Open
#c8637 - Created a year ago