Error: The initialHeaders
argument for Prerender
must be an object with string key/values
#49374
Closed
1 task done
Verify canary release
Provide environment information
Operating System: Platform: linux Arch: x64 Version: #42~22.04.1-Ubuntu SMP PREEMPT_DYNAMIC Tue Apr 18 17:40:00 UTC 2 Binaries: Node: 18.15.0 npm: 9.5.0 Yarn: 1.22.19 pnpm: N/A Relevant packages: next: 13.4.1 eslint-config-next: 13.4.1 react: 18.2.0 react-dom: 18.2.0
Which area(s) of Next.js are affected? (leave empty if unsure)
Middleware / Edge (API routes, runtime)
Link to the code that reproduces this issue
npx create-next-app@latest // with typescript, eslint, tailwind src directory and @/* import,
To Reproduce
Describe the Bug
if you run
Its run ok, but if you deploy it at vercel you get this error.
Error: The initialHeaders argument for Prerender must be an object with string key/values
Maybe source of problem is this code:
https://github.com/vercel/vercel/blob/main/packages/build-utils/src/prerender.ts
Expected Behavior
It deploys with out error.
Which browser are you using? (if relevant)
No response
How are you deploying your application? (if relevant)
Vercel
The text was updated successfully, but these errors were encountered: