Could not locate bindings file
See original GitHub issueWhen I’m trying to run project with deasync module, on application start I get:
/opt/website/my-proj/node_modules/deasync/node_modules/bindings/bindings.js:91
throw err
^
Error: Could not locate the bindings file. Tried:
→ /opt/website/my-proj/node_modules/deasync/build/deasync.node
→ /opt/website/my-proj/node_modules/deasync/build/Debug/deasync.node
→ /opt/website/my-proj/node_modules/deasync/build/Release/deasync.node
→ /opt/website/my-proj/node_modules/deasync/out/Debug/deasync.node
→ /opt/website/my-proj/node_modules/deasync/Debug/deasync.node
→ /opt/website/my-proj/node_modules/deasync/out/Release/deasync.node
→ /opt/website/my-proj/node_modules/deasync/Release/deasync.node
→ /opt/website/my-proj/node_modules/deasync/build/default/deasync.node
→ /opt/website/my-proj/node_modules/deasync/compiled/0.11.14/linux/x64/deasync.node
at bindings (/opt/website/my-proj/node_modules/deasync/node_modules/bindings/bindings.js:88:9)
at Object.<anonymous> (/opt/website/my-proj/node_modules/deasync/index.js:13:31)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (/opt/website/my-proj/db/methods/users.js:10:15)
at Module._compile (module.js:460:26)
Here’s what directory browsing gives me:
$ ls ./node_modules/deasync/
bin binding.gyp build.js index.js node_modules package.json quick-test.js README.md src test.js
$ ls ./node_modules/deasync/bin/
darwin-x64 linux-ia32 linux-x64 win32-ia32 win32-x64
OS version:
$ cat /proc/version
Linux version 3.8.13-44.el6uek.x86_64 (mockbuild@ca-build44.us.oracle.com) (gcc version 4.4.7 20120313 (Red Hat 4.4.7-3) (GCC) ) #2 SMP Fri Aug 8 21:59:01 PDT 2014
Node version:
$ node --version
v0.11.14
npm version:
$ npm --version
2.0.0
Issue Analytics
- State:
- Created 9 years ago
- Comments:6 (2 by maintainers)
Top 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 >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Ok, it seems, this did the trick run:
then
And it works. Thank you for your help
refer to this jest issues, it may solve a type of problem https://github.com/facebook/jest/issues/1694#issuecomment-257113870