-
Notifications
You must be signed in to change notification settings - Fork 24
Open
Labels
bug/1-unconfirmedBug should have enough information for reproduction, but confirmation has not happened yet.Bug should have enough information for reproduction, but confirmation has not happened yet.kind/bugA reported bug.A reported bug.topic: vercel
Description
We currently test that Prisma + Vercel's pkg bundler work, but we don't have any test for ncc.
While pkg basically bundles everything it finds up, ncc bundles a Node.js codebase into a single artifact.
Vercel claims it supports Node.js binary addons (NAPI), but apparently napi.rs may not be supported (see a Prisma user comment on bundling libquery + ncc, which is apparently just fixed by using the binary Query Engine target prisma/prisma#16901 (comment)).
ncc may also be used by the Vercel CLI, so it's highly relevant for us to ensure this works.
Next steps:
- reproduce the user sub-issue in Query engine library for current platform "linux-musl" could not be found in Docker prisma#16901 (comment)
- fix it / confirm it works as intended
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bug/1-unconfirmedBug should have enough information for reproduction, but confirmation has not happened yet.Bug should have enough information for reproduction, but confirmation has not happened yet.kind/bugA reported bug.A reported bug.topic: vercel