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.

Not working on node version 7.x.x

See original GitHub issue

I’m running this in node 6.9.4 and I get the following in the terminal on running the script.

... Output above...

==== C stack trace ===============================

 1: v8::Template::Set(v8::Local<v8::Name>, v8::Local<v8::Data>, v8::PropertyAttribute)
 2: SerialportPoller::Init(v8::Local<v8::Object>)
 3: init
 4: node::DLOpen(v8::FunctionCallbackInfo<v8::Value> const&)
 5: v8::internal::FunctionCallbackArguments::Call(void (*)(v8::FunctionCallbackInfo<v8::Value> const&))
 6: v8::internal::MaybeHandle<v8::internal::Object> v8::internal::(anonymous namespace)::HandleApiCallHelper<false>(v8::internal::Isolate*, v8::internal::(anonymous namespace)::BuiltinArguments<(v8::internal::BuiltinExtraArguments)1>)
 7: v8::internal::Builtin_HandleApiCall(int, v8::internal::Object**, v8::internal::Isolate*)
 8: 0x3310d7e092a7
 9: 0x3310d7f77244
(node) v8::ObjectTemplate::Set() with non-primitive values is deprecated
(node) and will stop working in the next major release.

==== JS stack trace =========================================
... Output below ...

I’m guessing that there is some piece of a dependency that node-dmx uses v8::ObjectTemplate::Set(). How can I help find the corresponding dependency and see if there is an update to get node-dmx working in node v7.x.x?

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bluemaexcommented, Jan 10, 2018

Just released 0.0.6 by a small delay - which now has updated dependencies and works on node 8 and 9 again 🎉

1reaction
westhomcommented, Jun 21, 2017

If anyone is interested in a temp fix, I’ve forked node-dmx and updated the serialport dependency ref to 5.0.0-beta. Also made a simple change to enttec-usb-dmx-pro.js to reflect a recent API change in serialport. I’ve tested on node 7.x (MacOS and Raspberry Pi) with my Enttec USB Pro MK2 and it seems to work.

npm install westhom/node-dmx

Read more comments on GitHub >

github_iconTop Results From Across the Web

Not seeing latest version when updating Node.js via installer ...
This outputted for me that node.exe was in a subdir of Chocolatey. Problem was that this version was v8.11.1 and it did not...
Read more >
npm does not support Node.js v10.15.2 · Issue #1877 - GitHub
It looks like current installed npm is not compatible with Node.js version you are using. You'll probably need to update your npm using...
Read more >
Node v7.0.0 (Current)
Node.js v7 has arrived! This new major version of Node.js includes: V8 5.4 which brings along with 98% coverage of ES6 language features, ......
Read more >
Update Now! Node.js 8 is Not Supported from 2020.
The problem is that those versions of your dependencies that worked fine with Node 8 might not be compatible with the V8 /...
Read more >
Installation | pnpm
If you don't use the standalone script to install pnpm, then you need to have Node.js (at least v14) to be installed on...
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