Cannot work with prisma
See original GitHub issueServerless: Typescript compiled.
Serverless: Optimize: starting engines
Serverless: Optimize: accounts-dev-main
Syntax Error -------------------------------------------
SyntaxError: Unexpected token (19074:12) while parsing /Users//services/node_modules/@prisma/client/runtime/index.js while parsing file: /Users//services/node_modules/@prisma/client/runtime/index.js
at DestroyableTransform.end [as _flush] (/Users//services/node_modules/insert-module-globals/index.js:114:21)
https://github.com/prisma/prisma/issues/5392#issuecomment-793100660
Issue Analytics
- State:
- Created 3 years ago
- Reactions:3
- Comments:16
Top Results From Across the Web
Could not resolve @prisma/client despite the installation that ...
i tried this solution (custom output path) but it doesn't work for me. package.json. "dependencies": { "@prisma/client": "2.29.0" }, " ...
Read more >Prisma Migrate limitations and known issues
Prisma Migrate generates SQL files that are specific to your provider. This means that you cannot use the same migration files for PostgreSQL...
Read more >Error message reference - Prisma
Prisma Client throws a PrismaClientRustPanicError exception if the underlying engine crashes and exits with a non-zero exit code. In this case, the Prisma ......
Read more >Troubleshooting relations - Prisma
This will not work however as the relation table ( PostCategories ) must form a 1-to-many relationship with the other two models respectively....
Read more >Handling exceptions and errors (Reference) - Prisma
import { PrismaClient, Prisma } from '@prisma/client' ... 'There is a unique constraint violation, a new user cannot be created with this email'....
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
I’m switching to webpack and it works
@hoangtrieukd you save my life with these. confirm it works with these two line
custom: optimize: external: ['@prisma/client', '.prisma/client']