Seems Prisma is failing for NodeJS 16.x
See original GitHub issueBug description
Seems Prisma is failing for NodeJS 16.x. My tests and express js server using prisma are working fine for NodeJS 15.14.0 but start working once I update my node to 16.x
node[20990]: ../src/node_http_parser.cc:567:static void node::(anonymous namespace)::Parser::Initialize(const FunctionCallbackInfo<v8::Value> &): Assertion `args[3]->IsInt32()' failed.
1: 0x106095ee5 node::Abort() (.cold.1) [/usr/local/bin/node]
2: 0x104d4bdc9 node::Abort() [/usr/local/bin/node]
3: 0x104d4bc31 node::Assert(node::AssertionInfo const&) [/usr/local/bin/node]
4: 0x104d6906f node::(anonymous namespace)::Parser::Initialize(v8::FunctionCallbackInfo<v8::Value> const&) [/usr/local/bin/node]
5: 0x104f3cae5 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/usr/local/bin/node]
6: 0x104f3c0b8 v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::HeapObject>, v8::internal::Handle<v8::internal::FunctionTemplateInfo>, v8::internal::Handle<v8::internal::Object>, v8::internal::BuiltinArguments) [/usr/local/bin/node]
7: 0x104f3b67f v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node]
8: 0x1057caa19 Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/usr/local/bin/node]
9: 0x105765445 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node]
[1] 20989 abort npm run dev
How to reproduce
Expected behavior
Prisma information
Environment & setup
- OS: macOS Big Sur
- Database: PostgreSQL
- Node.js version: 16.x
- Prisma version:
╰─ npx prisma -v
Environment variables loaded from .env
prisma : 2.21.2
@prisma/client : 2.21.2
Current platform : darwin
Query Engine : query-engine e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/query-engine-darwin)
Migration Engine : migration-engine-cli e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/migration-engine-darwin)
Introspection Engine : introspection-core e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/introspection-engine-darwin)
Format Binary : prisma-fmt e421996c87d5f3c8f7eeadd502d4ad402c89464d (at node_modules/@prisma/engines/prisma-fmt-darwin)
Default Engines Hash : e421996c87d5f3c8f7eeadd502d4ad402c89464d
Studio : 0.371.0
Issue Analytics
- State:
- Created 2 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
System requirements - Prisma
Prisma supports and tests all Active LTS and Maintenance LTS Node.js releases. · TypeScript is only required for TypeScript users. · When using...
Read more >Hanging/stuck reify:prettier: timing reifyNode:node_modules ...
I was using Node.js 16.x/npm 8. To solve this problem, I simply downgraded to Node.js 14.x/npm 6.
Read more >Build a Simple CRUD Node.js App with CockroachDB and ...
This tutorial shows you how build a simple Node.js application with CockroachDB and Prisma. Step 1. Start CockroachDB. Use CockroachDB serverless. Use a...
Read more >Prisma ORM with Node JS - Medium
Next-generation Node.js and TypeScript ORM. Prisma helps app developers build faster and make fewer errors with an open-source database toolkit for PostgreSQL, ...
Read more >Troubleshooting Node.js Deploys - Heroku Dev Center
Check out this advice to troubleshoot failed Node.js deploys. ... Resolving node version 12.x... remote: Downloading and installing node ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@shirshak55 They are supported. But we do need to test when a node release happens and we fix these issues fairly quickly. Node 16 is fresh out of oven. The fix will be in the release next Tuesday.
Thanks @janpio
and yes @Jolg42 totally agree… my prod is running on LTS but I always run my tests in my ci/cd flow for LTS as well as latest version of nodejs.