Skip to main content
Prisma Documentation Docs
current

Search documentation

Type to search this documentation.

On this pageOverview

Bundler issues (Prisma ORM v7)

Solve ENOENT package error with vercel/pkg and other bundlers

If you use vercel/pkg to package your Node.js project, you might encounter an ENOENT error like:

spawn /snapshot/enoent-problem/node_modules/.prisma/client/query-engine-debian-openssl-1.1.x ENOENT

Add your Prisma query engine binary path to the pkg/assets section of your package.json file:

JSON
{
  "pkg": {
    "assets": ["node_modules/.prisma/client/*.node"]
  }
}

See this Github issue for further discussion.

Suggest an edit

Propose a replacement for this page. The site team reviews it before applying any changes.

Export
Documentation menu