remix icon indicating copy to clipboard operation
remix copied to clipboard

TypeError: nodeResponse.headers.raw is not a function at sendRemixResponse

Open tsuki-lab opened this issue 1 year ago • 2 comments

Hello, I am using @vercel/og with Remix and deploying to Vercel. I found an error in the production environment and am reporting it. The version of Remix I am using is 2.4.1.

TypeError: nodeResponse.headers.raw is not a function
    at sendRemixResponse (file:///var/task/build/server-build-nodejs-eyJydW50aW1lIjoibm9kZWpzIn0.mjs:58:48)
    at Server.default (file:///var/task/build/server-build-nodejs-eyJydW50aW1lIjoibm9kZWpzIn0.mjs:75:9)
    at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
    at async Server.<anonymous> (/var/task/___vc/__launcher/bridge-server-72TT5FOD.js:1:8478)

This error seems to be the behavior as reported in https://github.com/remix-run/remix/issues/4354.

tsuki-lab avatar Jan 12 '24 00:01 tsuki-lab