[DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.

See original GitHub issue

yarn run v1.22.11 $ node src/index.js (node:31251) [DEP0111] DeprecationWarning: Access to process.binding(‘http_parser’) is deprecated. (Use node --trace-deprecation ... to show where the warning was created) Server is running on http://localhost:4000/ /usr/local/bin/node[31251]: …/src/node_http_parser.cc:567:static void node::(anonymous namespace)::Parser::Initialize(const FunctionCallbackInfov8::Value &): Assertion `args[3]->IsInt32()’ failed. 1: 0x100f3b380 node::Abort() [/usr/local/bin/node] 2: 0x100f3b1c4 node::AppendExceptionLine(node::Environment*, v8::Localv8::Value, v8::Localv8::Message, node::ErrorHandlingMode) [/usr/local/bin/node] 3: 0x100f54580 node::(anonymous namespace)::Parser::Initialize(v8::FunctionCallbackInfov8::Value const&) [/usr/local/bin/node] 4: 0x1010f3480 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/usr/local/bin/node] 5: 0x1010f2b9c v8::internal::MaybeHandlev8::internal::Object v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::FunctionTemplateInfo, v8::internal::Handlev8::internal::Object, v8::internal::BuiltinArguments) [/usr/local/bin/node] 6: 0x1010f2428 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node] 7: 0x10183d6cc Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/usr/local/bin/node] 8: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 9: 0x1017cecb8 construct_stub_create_deopt_addr [/usr/local/bin/node] 10: 0x1018c9890 Builtins_ConstructHandler [/usr/local/bin/node] 11: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 12: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 13: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 14: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 15: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 16: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 17: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 18: 0x101881de0 Builtins_PromiseConstructor [/usr/local/bin/node] 19: 0x1017ceef0 Builtins_JSBuiltinsConstructStub [/usr/local/bin/node] 20: 0x1018c9890 Builtins_ConstructHandler [/usr/local/bin/node] 21: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 22: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 23: 0x101800dd4 Builtins_AsyncFunctionAwaitResolveClosure [/usr/local/bin/node] 24: 0x101883898 Builtins_PromiseFulfillReactionJob [/usr/local/bin/node] 25: 0x1017f3734 Builtins_RunMicrotasks [/usr/local/bin/node] 26: 0x1017cf984 Builtins_JSRunMicrotasksEntry [/usr/local/bin/node] 27: 0x1011b102c v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/usr/local/bin/node] 28: 0x1011b1460 v8::internal::(anonymous namespace)::InvokeWithTryCatch(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/usr/local/bin/node] 29: 0x1011b1528 v8::internal::Execution::TryRunMicrotasks(v8::internal::Isolate*, v8::internal::MicrotaskQueue*, v8::internal::MaybeHandlev8::internal::Object) [/usr/local/bin/node] 30: 0x1011d41e8 v8::internal::MicrotaskQueue::RunMicrotasks(v8::internal::Isolate) [/usr/local/bin/node] 31: 0x1011d4064 v8::internal::MicrotaskQueue::PerformCheckpoint(v8::Isolate*) [/usr/local/bin/node] 32: 0x1010f3480 v8::internal::FunctionCallbackArguments::Call(v8::internal::CallHandlerInfo) [/usr/local/bin/node] 33: 0x1010f2b9c v8::internal::MaybeHandlev8::internal::Object v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::HeapObject, v8::internal::Handlev8::internal::FunctionTemplateInfo, v8::internal::Handlev8::internal::Object, v8::internal::BuiltinArguments) [/usr/local/bin/node] 34: 0x1010f2428 v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/bin/node] 35: 0x10183d6cc Builtins_CEntry_Return1_DontSaveFPRegs_ArgvOnStack_BuiltinExit [/usr/local/bin/node] 36: 0x1017d1cb8 Builtins_InterpreterEntryTrampoline [/usr/local/bin/node] 37: 0x1017cfaac Builtins_JSEntryTrampoline [/usr/local/bin/node] 38: 0x1017cf744 Builtins_JSEntry [/usr/local/bin/node] 39: 0x1011b1064 v8::internal::(anonymous namespace)::Invoke(v8::internal::Isolate*, v8::internal::(anonymous namespace)::InvokeParams const&) [/usr/local/bin/node] 40: 0x1011b06f8 v8::internal::Execution::Call(v8::internal::Isolate*, v8::internal::Handlev8::internal::Object, v8::internal::Handlev8::internal::Object, int, v8::internal::Handlev8::internal::Object) [/usr/local/bin/node] 41: 0x1010a3534 v8::Function::Call(v8::Localv8::Context, v8::Localv8::Value, int, v8::Localv8::Value) [/usr/local/bin/node] 42: 0x100e8ae40 node::InternalCallbackScope::Close() [/usr/local/bin/node] 43: 0x100e8b36c node::InternalMakeCallback(node::Environment*, v8::Localv8::Object, v8::Localv8::Object, v8::Localv8::Function, int, v8::Localv8::Value, node::async_context) [/usr/local/bin/node] 44: 0x100ea04ac node::AsyncWrap::MakeCallback(v8::Localv8::Function, int, v8::Localv8::Value) [/usr/local/bin/node] 45: 0x100fe0c80 node::StreamBase::CallJSOnreadMethod(long, v8::Localv8::ArrayBuffer, unsigned long, node::StreamBase::StreamBaseJSChecks) [/usr/local/bin/node] 46: 0x100fe2c7c node::EmitToJSStreamListener::OnStreamRead(long, uv_buf_t const&) [/usr/local/bin/node] 47: 0x100fe73b4 node::LibuvStreamWrap::OnUvRead(long, uv_buf_t const*) [/usr/local/bin/node] 48: 0x1017bd448 uv__stream_io [/usr/local/bin/node] 49: 0x1017c5568 uv__io_poll [/usr/local/bin/node] 50: 0x1017b3ce4 uv_run [/usr/local/bin/node] 51: 0x100e8be00 node::SpinEventLoop(node::Environment*) [/usr/local/bin/node] 52: 0x100f746c0 node::NodeMainInstance::Run(int*, node::Environment*) [/usr/local/bin/node] 53: 0x100f7438c node::NodeMainInstance::Run(node::EnvSerializeInfo const*) [/usr/local/bin/node] 54: 0x100f0d34c node::Start(int, char**) [/usr/local/bin/node] 55: 0x19165d430 start [/usr/lib/system/libdyld.dylib] error Command failed with signal “SIGABRT”. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:15

github_iconTop GitHub Comments

6reactions
anggihnurhcommented, Dec 18, 2021

I have following this step and it’s work properly, thanks!!

@DineshShrestha I encountered a similar issue when running queries in the playground. I got around it by updating @prisma/cli and @prisma/client in my local environment. @prisma/cli kept logging a deprecation warning, so I replaced it with the prisma package as they suggested.

yarn remove @prisma/cli
yarn add prisma --dev

yarn upgrade @prisma/client
6reactions
acmertzcommented, Sep 24, 2021

@DineshShrestha I encountered a similar issue when running queries in the playground. I got around it by updating @prisma/cli and @prisma/client in my local environment. @prisma/cli kept logging a deprecation warning, so I replaced it with the prisma package as they suggested.

yarn remove @prisma/cli
yarn add prisma --dev

yarn upgrade @prisma/client
Read more comments on GitHub >

github_iconTop Results From Across the Web

How to fix: (node:12364) [DEP0111] DeprecationWarning ...
How to fix: (node:12364) [DEP0111] DeprecationWarning: Access to process.binding('http_parser') is deprecated.
Read more >
access to process.binding('http_parser') - You.com | The AI ...
js (node:31251) [DEP0111] DeprecationWarning: Access to process.binding('httpparser') is deprecated. (Use node --trace-deprecation ... to show where the warning ...
Read more >
Access to process.binding('http_parser') is deprecated
After upgrade to Nodejs 16.x, UFT Developer is poping up DeprecationWarning message. DeprecationWarning.png
Read more >
The legacy HTTP parser is deprecated - help - Meteor forums
(node:39372) [DEP0131] DeprecationWarning: The legacy HTTP parser is ... process.binding (internal/bootstrap/loaders.js:113:14) at Object.
Read more >
http-parser-js - npm Package Health Analysis - Snyk
Learn more about http-parser-js: package health score, popularity, security, maintenance, versions and more.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found