question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Doesn't work with Node 8.1.3

See original GitHub issue

Node crashes with error: ../src/async-wrap.cc:349:void node::SetupHooks(const FunctionCallbackInfo<v8::Value> &): Assertion before_v->IsFunction()’ failed. 1: node::Abort() [/usr/local/Cellar/node/8.1.3/bin/node] 2: node::MakeCallback(v8::Isolate*, v8::Localv8::Object, char const*, int, v8::Localv8::Value, double, double) [/usr/local/Cellar/node/8.1.3/bin/node] 3: node::SetupHooks(v8::FunctionCallbackInfov8::Value const&) [/usr/local/Cellar/node/8.1.3/bin/node] 4: v8::internal::FunctionCallbackArguments::Call(void ()(v8::FunctionCallbackInfov8::Value const&)) [/usr/local/Cellar/node/8.1.3/bin/node] 5: 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/Cellar/node/8.1.3/bin/node] 6: v8::internal::Builtin_Impl_HandleApiCall(v8::internal::BuiltinArguments, v8::internal::Isolate*) [/usr/local/Cellar/node/8.1.3/bin/node] 7: 0x3b4d1000437d sh: line 1: 8851 Abort trap: 6 ts-node src/main `

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
Jeff-Lewiscommented, Jul 7, 2017

@erezool I just published an alpha version 5 of cls-hooked which works (so far) with node v8.1.3. Run npm i cls-hooked@alpha to give it a try. Let me know if you come across any issues with it.

1reaction
Jeff-Lewiscommented, Jun 30, 2017

Yes, this will occur in the current released version v4.1.5 of cls-hooked as I beleive the AsychWrap interface has changed in node 8.x to support the new async_hooks API.

I’ve been waiting for node 8.2.x to release a new version of cls-hooked that works with async_hooks but since we are getting this error, I might release a beta version until node 8.2.x is released. This will at least allow us to develop and test until 8.2.x

Read more comments on GitHub >

github_iconTop Results From Across the Web

Update Now! Node.js 8 is Not Supported from 2020.
Node.js versions are mostly backward compatible, meaning that code you wrote for Node 8 will work on Node 10 or 12.
Read more >
Node JS 8.1.3 - Chocolatey Software
Version Downloads Last Updated Status Node JS 19.2.0 14868 Wednesday, November 30, 2022 Approved Node JS 19.1.0 14380 Monday, November 14, 2022 Approved Node JS 19.0.0...
Read more >
npm does not support Node.js v12.18.3 - Stack Overflow
I found the work-around ! First you need to open your cmd line, and use " npm install -g npm@latest " you'll get...
Read more >
npm does not support Node.js v10.19.0 · Issue #3644 - GitHub
Details I cannot access npm right now. My node version is 10.19.0, and my npm version is 6.14. Here is the error message...
Read more >
Set up NodeJS on native Windows - Microsoft Learn
A guide to help you get your Node.js development environment set up directly on Windows.
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