nexus-prisma icon indicating copy to clipboard operation
nexus-prisma copied to clipboard

Create a test using pnpm with deployment to vercel

Open AhmedElywa opened this issue 2 years ago • 1 comments

We got an issue #189. At this issue the nexus-prisma generated code try to import @prisma/client from path not found. the issue was because using pnpm package manager creating his own paths to the npm packages. The fix we did was looking into the @prisma/client output path and if we found it's into the .pnpm folder we will use the direct import @prisma/client

But now we not have an way to test if this fix working or now. We need to add an test to test the pnpm with vercel

AhmedElywa avatar Jun 12 '22 10:06 AhmedElywa

I did a live test and it's working now good https://nexus-full-test.vercel.app

image

AhmedElywa avatar Jun 29 '22 06:06 AhmedElywa