Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: Could not locate the bindings file #36

Open
darmie opened this issue Aug 3, 2014 · 2 comments
Open

Error: Could not locate the bindings file #36

darmie opened this issue Aug 3, 2014 · 2 comments

Comments

@darmie
Copy link

darmie commented Aug 3, 2014

Hi @TooTallNate , i am trying to use lame with icecast to stream live audio using Edcast. I was unable to run my node server file "Stream.js" I was getting this error

root@Darmie:/var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream# node stream.js

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
Error: Could not locate the bindings file. Tried:
  /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/build/bindings.node
  /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/build/Debug/bindings.node
  /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/build/Release/bindings.node
  /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/out/Debug/bindings.node
  /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/Debug/bindings.node
  /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/out/Release/bindings.node
  /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/Release/bindings.node
  /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/build/default/bindings.node
  /var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/compiled/0.6.12/linux/x64/bindings.node
    at bindings (/var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/bindings/bindings.js:88:9)
    at Object.<anonymous> (/var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/lib/bindings.js:1:99)
    at Module._compile (module.js:441:26)
    at Object..js (module.js:459:10)
    at Module.load (module.js:348:32)
    at Function._load (module.js:308:12)
    at Module.require (module.js:354:17)
    at require (module.js:370:17)
    at Object.<anonymous> (/var/www/vhosts/crimson/crimsonfm.com/httpdocs/stream/node_modules/lame/lib/decoder.js:7:15)
    at Module._compile (module.js:441:26)
@ghost
Copy link

ghost commented Apr 2, 2015

Hey, I'm having the same issue here. What could be causing this?

EDIT: It turns out I was encountering this when running Node v0.6 on Raspberry Pi, which didn't seem to have support for node-gyp, which is required for running the build for the bindings. So no worries.

@darmie your issue might have been to do with the node version, or with node-gyp not having run on the bindings.gyp file in the node_modules/lame folder. Maybe try running that to build the bindings and try again.

@EMCP
Copy link

EMCP commented Oct 10, 2016

node v6 requires arm v7+ apparently, and my raspberry pi B+ is arm v6.

Recommend you close this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants