Ted
PPrisma
•Created by Ted on 7/3/2024 in #help-and-questions
URGENT: I cannot remove/uninstall Accelerate from my Vercel build. Help.
I'll reach out to support.
13 replies
PPrisma
•Created by Ted on 7/3/2024 in #help-and-questions
URGENT: I cannot remove/uninstall Accelerate from my Vercel build. Help.
Oh thank you, after reverting
no-engine
it's working.13 replies
PPrisma
•Created by Ted on 7/3/2024 in #help-and-questions
URGENT: I cannot remove/uninstall Accelerate from my Vercel build. Help.
While I have you, is it possible to use accelerate and directurl in the same runtime for different use cases?
13 replies
PPrisma
•Created by Ted on 7/3/2024 in #help-and-questions
URGENT: I cannot remove/uninstall Accelerate from my Vercel build. Help.
🙏 Ok Thank you, will try right away 🙂
13 replies
PPrisma
•Created by Ted on 7/3/2024 in #help-and-questions
URGENT: I cannot remove/uninstall Accelerate from my Vercel build. Help.
Using
npx prisma generate --no-engine
on postinstall... (forgot), should I revert also to npx prisma generate
?13 replies
PPrisma
•Created by Ted on 7/3/2024 in #help-and-questions
URGENT: I cannot remove/uninstall Accelerate from my Vercel build. Help.
noengine
13 replies
PPrisma
•Created by Ted on 7/3/2024 in #help-and-questions
URGENT: I cannot remove/uninstall Accelerate from my Vercel build. Help.
continued...
[next-auth][error][SESSION_ERROR]
https://next-auth.js.org/errors#session_error
Invalid
prisma.session.findUnique()
invocation:
Error validating datasource db
: the URL must start with the protocol prisma://
PrismaClientKnownRequestError:
Invalid prisma.session.findUnique()
invocation:
Error validating datasource db
: the URL must start with the protocol prisma://
at In.handleRequestError (/var/task/node_modules/.prisma/client/runtime/library.js:122:6877)
at In.handleAndLogRequestError (/var/task/node_modules/.prisma/client/runtime/library.js:122:6211)
at In.request (/var/task/node_modules/.prisma/client/runtime/library.js:122:5919)
at process.processTicksAndRejections (node:internal/process/task_queues:95:5)
at async l (/var/task/node_modules/.prisma/client/runtime/library.js:127:11167)
at async getSessionAndUser (file:///var/task/node_modules/@auth/prisma-adapter/index.js:24:36) {
name: 'GetSessionAndUserError',
code: 'P6001'
}13 replies
PPrisma
•Created by Ted on 7/3/2024 in #help-and-questions
URGENT: I cannot remove/uninstall Accelerate from my Vercel build. Help.
I get this runtime error on Vercel:
prisma:error
Invalid
prisma.session.findUnique()
invocation:
Error validating datasource db
: the URL must start with the protocol prisma://
[next-auth][error][adapter_error_getSessionAndUser]
https://next-auth.js.org/errors#adapter_error_getsessionanduser
Invalid prisma.session.findUnique()
invocation:
Error validating datasource db
: the URL must start with the protocol prisma://
{
message: '\n' +
'Invalid prisma.session.findUnique()
invocation:\n' +
'\n' +
'\n' +
'Error validating datasource db
: the URL must start with the protocol prisma://
',
stack: 'PrismaClientKnownRequestError: \n' +
'Invalid prisma.session.findUnique()
invocation:\n' +
'\n' +
'\n' +
'Error validating datasource db
: the URL must start with the protocol prisma://
\n' +
' at In.handleRequestError (/var/task/node_modules/.prisma/client/runtime/library.js:122:6877)\n' +
' at In.handleAndLogRequestError (/var/task/node_modules/.prisma/client/runtime/library.js:122:6211)\n' +
' at In.request (/var/task/node_modules/.prisma/client/runtime/library.js:122:5919)\n' +
' at process.processTicksAndRejections (node:internal/process/task_queues:95:5)\n' +
' at async l (/var/task/node_modules/.prisma/client/runtime/library.js:127:11167)\n' +
' at async getSessionAndUser (file:///var/task/node_modules/@auth/prisma-adapter/index.js:24:36)',
name: 'PrismaClientKnownRequestError'
}13 replies
PPrisma
•Created by Ted on 7/3/2024 in #help-and-questions
URGENT: I cannot remove/uninstall Accelerate from my Vercel build. Help.
In Vercel, I've purged the data cache. I'm not using the build cache. I've clear my browser cache. URL's have no use of prisma:// scheme. Could it be lurking in yarn.lock? I've removed use of
.$extends(withAccelerate())
. I've removed @prisma/extension-accelerate
from my project.13 replies
PPrisma
•Created by Ted on 6/29/2024 in #help-and-questions
Get P6004 and P5000 error running Vercel production query through Accelerate
I'd like to trying bypassing Accelerate on production as a test, but not sure how to qucikly extract Prisma Accelerate without extensive changes or updating the schema.
2 replies
PPrisma
•Created by Ted on 6/18/2024 in #help-and-questions
Prisma runtime error using direct db access in parallel with Accelerate on Vercel
@Nurul (Prisma) @moosthuizen
6 replies
PPrisma
•Created by Ted on 6/18/2024 in #help-and-questions
Prisma runtime error using direct db access in parallel with Accelerate on Vercel
Continued ...
My env vars:
This all works locally, but not on Vercel. So this could be related to postinstall.
My postinstall script:
My prisma package.json scripts:
Questions:
1) Should we be able to use direct access with Accelerate?
2) Is there anything wrong with the above? Is there more I can provide to help?
My use case is to load up to 30MB into a MUI DataGrid. I could this progressively (via Accelerate without cache), but I don't want to incur excessive data costs associated with the transfer.
Thank you!
6 replies