Next.js Discord

Discord Forum

Next.js is not detecting _next/static/ files after deploying on the server online

Unanswered
crazyycoder posted this in #help-forum
Open in Discord
Avatar
Next.js is not detecting _next/static/ files after deploying on the server online after deploying localy working fine, getting this error:


GET_next/static/chunks/webpack-4a2024d990a62354.js net::ERR_ABORTED 404 (Not Found)
flyurl.app/:1


GET_next/static/chunks/main-42df762fe5cb7d35.js net::ERR_ABORTED 404 (Not Found)
flyurl.app/:1


GET_next/static/chunks/pages/_app-b71b0a0e90fd4cef.js net::ERR_ABORTED 404 (Not Found)
flyurl.app/:1


GET_next/static/chunks/4481-9c0c89bd3013ebe4.js net::ERR_ABORTED 404 (Not Found)
flyurl.app/:1


GET_next/static/chunks/pages/index-ed5f6df1168d5a90.js net::ERR_ABORTED 404 (Not Found)
flyurl.app/:1


GET_next/static/lQ9GjS7IgcJcxhN45f3QG/_buildManifest.js net::ERR_ABORTED 404 (Not Found)
flyurl.app/:1


GET_next/static/lQ9GjS7IgcJcxhN45f3QG/_ssgManifest.js net::ERR_ABORTED 404 (Not Found)

7 Replies

Avatar
How do you deploy?
Avatar
throguh SSH
I have tried many different commands
npm run start

npx next start
npm build

npx next build
& i have tried many more things, many more but nothing is working 😦
Avatar
Locally is working fine