Skip to content

Commit 16df20d

Browse files
janpioJolg42
andauthored
fix: Node 32bit incompat warning (#165)
Co-authored-by: Jan Piotrowski <piotrowski+github@gmail.com> Co-authored-by: Joël Galeran <Jolg42@users.noreply.github.com>
1 parent f4e3594 commit 16df20d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/get-platform/src/isNodeAPISupported.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ export async function isNodeAPISupported() {
1111
const os = await getos()
1212
if (!customLibraryExists && (os.arch === 'x32' || os.arch === 'ia32')) {
1313
throw new Error(
14-
`Node-API is currently not supported for 32bit Node. Please remove \`nApi\` from the "previewFeatures" attribute in the "generator" block of the "schema.prisma", or remove the "PRISMA_FORCE_NAPI" environment variable.`,
14+
`The default query engine type (Node-API, "library") is currently not supported for 32bit Node. Please set \`engineType = "binary"\` in the "generator" block of your "schema.prisma" file (or use the environment variables "PRISMA_CLIENT_ENGINE_TYPE=binary" and/or "PRISMA_CLI_QUERY_ENGINE_TYPE=binary".)`,
1515
)
1616
}
1717
}

0 commit comments

Comments
 (0)