nexus-prisma
nexus-prisma copied to clipboard
Create a test using pnpm with deployment to vercel
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
I did a live test and it's working now good https://nexus-full-test.vercel.app
