diff --git a/packages/client/src/runtime/core/engines/library/LibraryEngine.ts b/packages/client/src/runtime/core/engines/library/LibraryEngine.ts index 36d0bf3aa5ac..83459119e46c 100644 --- a/packages/client/src/runtime/core/engines/library/LibraryEngine.ts +++ b/packages/client/src/runtime/core/engines/library/LibraryEngine.ts @@ -110,7 +110,7 @@ Find out why and learn how to fix this: https://pris.ly/d/schema-not-found-nextj } else if (config.isBundled === true) { throw new PrismaClientInitializationError( `Prisma Client could not find its \`schema.prisma\`. This is likely caused by a bundling step, which leads to \`schema.prisma\` not being copied near the resulting bundle. 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/bundler-investigation`, +Please help us by answering a few questions: https://pris.ly/bundler-investigation-error`, config.clientVersion!, ) } diff --git a/packages/client/tests/e2e/bundler-detection-error/tests/main.ts b/packages/client/tests/e2e/bundler-detection-error/tests/main.ts index a1fac902cf8b..fab2da36e023 100644 --- a/packages/client/tests/e2e/bundler-detection-error/tests/main.ts +++ b/packages/client/tests/e2e/bundler-detection-error/tests/main.ts @@ -43,7 +43,7 @@ test('bundled prisma client will fail if generated client is gone', async () => await expect(somePrismaCall()).rejects.toThrowErrorMatchingInlineSnapshot(` "Prisma Client could not find its \`schema.prisma\`. This is likely caused by a bundling step, which leads to \`schema.prisma\` not being copied near the resulting bundle. 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/bundler-investigation" +Please help us by answering a few questions: https://pris.ly/bundler-investigation-error" `) })