OrJDev/create-jd-app

build gets stuck while deploying on vercel with pnpm

aidanaden opened this issue · 6 comments

When trying to deploy to vercel with pnpm, the build process gets stuck indefinitely

image

Hey there, this is unrelated to pnpm or your package manager, this is not related to jd either.
Its an actual bug that Nikhil (the creator of solid start) is working on these days. You can find more info in here:

solidjs/solid-start#383

Sometimes it helps to create new repo, reinstall the modules and recreate vercel project.

Also as i wrote in the bug report,
You could build and deploy using the vercel cli and it won't get stuck, however you cannot build it locally when using Prisma.
So unless you are using Prisma try building and deploying using the vercel cli

Hey there, this is unrelated to pnpm or your package manager, this is not related to jd either. Its an actual bug that Nikhil (the creator of solid start) is working on these days. You can find more info in here:

solidjs/solid-start#383

Sometimes it helps to create new repo, reinstall the modules and recreate vercel project.

seems like yarn works without any issue tho? solved the issue by using yarn instead for now :)

Oh that's very important to know, could you post this in the issue i mentioned above? It might be something with the packages after all

But just so you know its not pnpm specifically,
using npm might work sometimes and sometimes not, so the package manager is not the issue but some packages cause this issue

But just so you know its not pnpm specifically, using npm might work sometimes and sometimes not, so the package manager is not the issue but some packages cause this issue

ahh i see - interesting that yarn works without issue