#The Edge Function "_qwik-city" is referencing unsupported modules: - @qwik-city-plan.js: pos

16 messages · Page 1 of 1 (latest)

sinful ember
#

I have been trying to deploy to vercel for quite a month now.
At first i thought modular-forms was causing the issue but after testing on a new project i get same problem.

The build.server was failing localy, after i put "postgres" as external dep it worked. Now, local build works but this is the error i get when deploying it on vercel.
How can i solve this? drizzle is suppozed to run on edge so vercel should work

#

if this is not a known issue, please let me know so I can create a reproduction enviroment

worldly prawn
#

move all qwik packages and 3rd party qwik packages to devDeps

#

and in the entry file for the vercel function if you changed anything let me see

sinful ember
sinful ember
worldly prawn
#

did you run npm run build

sinful ember
#

Before deploying?

#

I did run it, and it was working.

Not sure if i run it exactly before deployment, becouse afaik vercel does build it again.

worldly prawn
#

do you have the repo public or can I see it

sinful ember
#

Give me a few minutes to create a fork of it.

Since the original repo has many routes and modular forms etc and will be hard to debug.

worldly prawn
sinful ember
#

@worldly prawn pull request done 👍

nocturne wren
#

when I try to deploy to vercel-edge, I get a blank screen, after running vercel dev to debug I get this error.

worldly prawn
#

What version of node are you using