Error 404 on all pages in Next 14 app router
Answered
Narrow-barred Spanish mackerel posted this in #help-forum
Narrow-barred Spanish mackerelOP
I'm developing a web3 app mostly working on frontend rn. All of a sudden i'm getting Error 404 on all pages and when runnign build its only getting 404 route
▲ Next.js 14.2.4
- Environments: .env
Creating an optimized production build ...
✓ Compiled successfully
Skipping validation of types
Skipping linting
✓ Collecting page data
✓ Generating static pages (2/2)
✓ Collecting build traces
✓ Finalizing page optimization
Route (pages) Size First Load JS
─ ○ /404 181 B 79 kB
+ First Load JS shared by all 78.8 kB
├ chunks/framework-d1703057b07599d4.js 45.2 kB
├ chunks/main-8621951b29394129.js 32 kB
└ other shared chunks (total) 1.63 kB
○ (Static) prerendered as static content
9 Replies
show me your workspace
Narrow-barred Spanish mackerelOP
workspace?
can attach package.json and next config
no, I mean screenshot of folders inside your workspace
Narrow-barred Spanish mackerelOP
what do you have inside your root
app
?Answer
Narrow-barred Spanish mackerelOP
aah -__
i need a break 😦 lol
TY @James4u (Tag me if needed)