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.

Could not locate the bindings files.

See original GitHub issue

I installed torrentflix via npm on a Void Linux machine, and I simply doesn’t work. Every time I try to launch it I get this error message:

/usr/lib/node_modules/torrentflix/node_modules/bindings/bindings.js:96
  throw err
  ^

Error: Could not locate the bindings file. Tried:
 → /usr/lib/node_modules/torrentflix/node_modules/node-expat/build/node_expat.node
 → /usr/lib/node_modules/torrentflix/node_modules/node-expat/build/Debug/node_expat.node
 → /usr/lib/node_modules/torrentflix/node_modules/node-expat/build/Release/node_expat.node
 → /usr/lib/node_modules/torrentflix/node_modules/node-expat/out/Debug/node_expat.node
 → /usr/lib/node_modules/torrentflix/node_modules/node-expat/Debug/node_expat.node
 → /usr/lib/node_modules/torrentflix/node_modules/node-expat/out/Release/node_expat.node
 → /usr/lib/node_modules/torrentflix/node_modules/node-expat/Release/node_expat.node
 → /usr/lib/node_modules/torrentflix/node_modules/node-expat/build/default/node_expat.node
 → /usr/lib/node_modules/torrentflix/node_modules/node-expat/compiled/9.4.0/linux/x64/node_expat.node
    at bindings (/usr/lib/node_modules/torrentflix/node_modules/bindings/bindings.js:93:9)
    at Object.<anonymous> (/usr/lib/node_modules/torrentflix/node_modules/node-expat/lib/node-expat.js:4:32)
    at Module._compile (module.js:660:30)
    at Object.Module._extensions..js (module.js:671:10)
    at Module.load (module.js:573:32)
    at tryModuleLoad (module.js:513:12)
    at Function.Module._load (module.js:505:3)
    at Module.require (module.js:604:17)
    at require (internal/module.js:11:18)
    at Object.<anonymous> (/usr/lib/node_modules/torrentflix/node_modules/xml2json/lib/xml2json.js:1:75)

I tried installing bindings manually with npm, but that didnt work.

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
bigodelcommented, Feb 20, 2018

Oh, ok, thank you. Will close the issue now, keep up the good work, you’ve got a wonderful application!

1reaction
ItzBlitz98commented, Feb 20, 2018

Hm try sudo npm install --unsafe-perm --verbose -g torrentflix

Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Could not locate the bindings file · Issue #1511 - GitHub
This happened due to an incompatible Node version, a simple solution should be to use a different node version with nvm or update...
Read more >
Error: Could not locate the bindings file. Tried: #56
In my case it was complaining about the bindings for ursa package. Fixed by simply installing it with npm install ursa . –...
Read more >
Error: Could not locate the bindings file - Edge Impulse Forum
Hello @karl404,. I just tested on Mac OS Big Sur 11.4 with a fresh installation of nodeJS v16.4.0. I have not been able...
Read more >
Error building mongosh - Developer Tools - MongoDB
Is it still failing with the same error (“Could not locate the bindings file”) when using Node.js 14? If so, you may need...
Read more >
Error: Could not locate the bindings file. Tried - Glitch Support
Error: Could not locate the bindings file. Tried ... please help guys.! ... Hello @3MoSteve, You can try npm rebuild in your teminal...
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