To replicate my issue, I created a next app template folder with
npx create-next-app
(Version 13.1.6==latest, all default options, Node v18.14.0==LTS)
and when I try to run it with
npm run dev
it loads HTML files like index.tsx, but 404s on all assets and scripts.
The same thing happens with npm run build/start
.
Reproduced the issue on both Chrome and Firefox (no extensions or adblockers of any sort) with create-next-app@latest and @12.4.3. The issue does not reproduce on Docker though (node:alpine-current).