-
Notifications
You must be signed in to change notification settings - Fork 30.8k
Next in Vercel - SSG page with fetch cache: no-store responds with 404 Not Found page #62634
Copy link
Copy link
Closed
vercel/vercel
#11862Labels
Description
Link to the code that reproduces this issue
To Reproduce
- Install dependencies
- Run locally -
npm run build=>npm run start - Go to
localhost:3000/no-storeand note that it functions - Deploy to Vercel -
vercel link=>vercel deploy - Go to the deployed site (mine is here:
no-store) - Note that it does not function - instead gives
404 Not Found
Current vs. Expected behavior
It gives an error.
I expect the page to render, just like in local environment.
Provide environment information
Operating System:
Platform: darwin
Arch: arm64
Version: Darwin Kernel Version 23.2.0: Wed Nov 15 21:55:06 PST 2023; root:xnu-10002.61.3~2/RELEASE_ARM64_T6020
Binaries:
Node: 18.18.2 // Also tested v20
npm: 9.8.1
Yarn: 1.22.21
pnpm: 8.9.2
Relevant Packages:
next: 14.1.0
eslint-config-next: 14.1.0 // Also tested on canary
react: 18.2.0
react-dom: 18.2.0
typescript: 5.3.3
Next.js Config:
output: N/AWhich area(s) are affected? (Select all that apply)
App Router, Data fetching (gS(S)P, getInitialProps)
Which stage(s) are affected? (Select all that apply)
Vercel (Deployed)
Additional context
Also posted my initial discussion here: https://github.com/orgs/vercel/discussions/5935
Reactions are currently unavailable