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.

Bonescript does not run with node.js v6.x

See original GitHub issue

Bonescript does not run with node.js v6.x (specifically v6.9.1). Due to the bindings package within the epoll package, see this issue: https://github.com/TooTallNate/node-bindings/issues/26

How to reproduce in bonescript:

require('bonescript')

gives the following error:

Error: Could not locate the bindings file. Tried:
 → /root/node_modules/ref/build/binding.node
 → /root/node_modules/ref/build/Debug/binding.node
 → /root/node_modules/ref/build/Release/binding.node
 → /root/node_modules/ref/out/Debug/binding.node
 → /root/node_modules/ref/Debug/binding.node
 → /root/node_modules/ref/out/Release/binding.node
 → /root/node_modules/ref/Release/binding.node
 → /root/node_modules/ref/build/default/binding.node
 → /root/node_modules/ref/compiled/6.9.1/linux/arm/binding.node
    at bindings (/root/node_modules/bindings/bindings.js:88:9)
    at Object.<anonymous> (/root/node_modules/ref/lib/ref.js:5:47)
    at Module._compile (module.js:570:32)
    at Object.Module._extensions..js (module.js:579:10)
    at Module.load (module.js:487:32)
    at tryModuleLoad (module.js:446:12)
    at Function.Module._load (module.js:438:3)
    at Module.require (module.js:497:17)
    at require (internal/module.js:20:19)
    at Object.<anonymous> (/root/node_modules/ffi/lib/ffi.js:6:11)

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (15 by maintainers)

github_iconTop GitHub Comments

1reaction
RobertCNelsoncommented, Oct 20, 2017

@lorenx i’ll setup a stretch/nodejsv8 build node tonight/weekend, and see where we are at…

1reaction
RobertCNelsoncommented, Jan 19, 2017

@bennyn so all the installed nodejs packages (except for one seeed tool in the seeed image) in our repo currently support v0.12/v4/v6. So you could take the “latest” ( http://beagleboard.org/latest-images ) and change the nodesource repo from v0.12.x -> v4.x… and just apt update ; apt upgrade…

Or just grab one of the latest weekly snapshots:

https://rcn-ee.net/rootfs/bb.org/testing/2017-01-15/

as v4.x is now set as default… (really anything after 2016-11-06, has v4.x as default)

Regards,

Read more comments on GitHub >

github_iconTop Results From Across the Web

Is bonescript compatible with node version >0.10.x ?
Hi,. I have Beaglebone black with Debian 8.3 (Kernel 3.8.x) running on it. I update NodeJS on the board to v0.12.13. I am...
Read more >
Node-sass does not run on npm-start V6.0.0 - Stack Overflow
I faced the same issue, I needed to check my node version by running node -v and compare to the supported node-sass version....
Read more >
User:Ibrahimhaleemkhan - eLinux.org
Ibrahim Haleem Khan Linux is Freedom to work around new things without ... Bonescript does not run with node.js v6.x (specifically v6.9.1).
Read more >
Download - Node.js
Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. ... code or a pre-built installer for your platform, and start developing...
Read more >
Node v6.9.0 (LTS)
Node.js v6.9.0 LTS "Boron". Notable changes. crypto: Don't automatically attempt to load an OpenSSL configuration file, from ...
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 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