#Cannot deploy routes with runtime edge

1 messages · Page 1 of 1 (latest)

gray yoke
#

Hi!

I'm started getting the following error today:

Error: The Edge Function "xxx" is referencing unsupported modules: - use-sidecar: detect-node-es

I tried:

  • Redeploy old deploy with status ready, it doesn't work.
  • Search for any dependency in my app using that module, had no luck finding one.
  • Deploy with the "nodejs" runtime the whole app, it works, but I want some public routes to be at the edge.

Any hint on how to find to root cause of this issue?

Thanks for the help!

hallow ore
#

Hi Andres, my team hit the same issue today while deploying our existing Remix project to Vercel. In my case, the openai package is the one causing this error. I've spent today combing through any changes made in Vercel/Remix/OpenAI to get to the root of this to no avail. I wonder if there was an upstream change with Vercel's edge runtime?

Let me know if you make any progress

#

To be clear, this project had no problems deploying until today. I made an unrelated configuration change in the repo and noticed the deployment failed.