next.js
40672141 - Turbopack: correctly trace files with npm (#85323)

Commit
61 days ago
Turbopack: correctly trace files with npm (#85323) The `.contains("/node_modules/")` condition didn't work for npm, where the path might be `"node_modules/.prisma/client"` This fixes cases of the following error with Prisma and npm ``` Prisma Client could not locate the Query Engine for runtime "rhel-openssl-3.0.x". We detected that you are using Next.js, learn how to fix this: https://pris.ly/d/engine-not-found-nextjs. This is likely caused by tooling that has not copied "libquery_engine-rhel-openssl-3.0.x.so.node" to the deployment folder. Ensure that you ran `prisma generate` and that "libquery_engine-rhel-openssl-3.0.x.so.node" has been copied to "node_modules/.prisma/client". We would appreciate if you could take the time to share some information with us. Please help us by answering a few questions: https://pris.ly/engine-not-found-tooling-investigation The following locations have been searched: /var/task/node_modules/.prisma/client /var/task/node_modules/@prisma/client /vercel/path0/node_modules/@prisma/client /tmp/prisma-engines ```
Author
Parents
Loading