Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
tsuki-lab opened this issue Jan 12, 2024 · 2 comments

Comments

@tsuki-lab
Copy link

tsuki-lab commented Jan 12, 2024

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 remix-run#4354.

@wong2
Copy link

wong2 commented Feb 29, 2024

I'm getting this with vercel/ai

@TooTallNate
Copy link
Member

Can you share an example repo that demonstrates the issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants