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.

Error: Could not locate the bindings file

See original GitHub issue

Hey there,

I’m getting the following error trying to start my app:

/Users/tnrich/Sites/lims/app-proxy/node_modules/bindings/bindings.js:126
  err = new Error(
        ^

Error: Could not locate the bindings file. Tried:
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/build/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/build/Debug/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/build/Release/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/out/Debug/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/Debug/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/out/Release/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/Release/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/build/default/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/compiled/15.8.0/darwin/arm64/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/addon-build/release/install-root/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/addon-build/debug/install-root/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/addon-build/default/install-root/deasync.node
 → /Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/lib/binding/node-v88-darwin-arm64/deasync.node
    at bindings (/Users/tnrich/Sites/lims/app-proxy/node_modules/bindings/bindings.js:126:9)
    at Object.<anonymous> (/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/index.js:30:31)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/Users/tnrich/Sites/lims/app-proxy/node_modules/node-etcd/lib/client.js:7:11)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18)
    at Object.<anonymous> (/Users/tnrich/Sites/lims/app-proxy/node_modules/node-etcd/lib/index.js:9:10)
    at Module._compile (node:internal/modules/cjs/loader:1108:14)
    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1137:10)
    at Module.load (node:internal/modules/cjs/loader:973:32)
    at Function.Module._load (node:internal/modules/cjs/loader:813:14)
    at Module.require (node:internal/modules/cjs/loader:997:19)
    at require (node:internal/modules/cjs/helpers:92:18) {
  tries: [
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/build/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/build/Debug/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/build/Release/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/out/Debug/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/Debug/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/out/Release/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/Release/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/build/default/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/compiled/15.8.0/darwin/arm64/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/addon-build/release/install-root/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/addon-build/debug/install-root/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/addon-build/default/install-root/deasync.node',
    '/Users/tnrich/Sites/lims/app-proxy/node_modules/deasync/lib/binding/node-v88-darwin-arm64/deasync.node'
  ]
}
error Command failed with exit code 1.

on new apple M1 node v15.8.0

Any ideas on how to fix this? Thanks!

Issue Analytics

  • State:open
  • Created 3 years ago
  • Reactions:2
  • Comments:6

github_iconTop GitHub Comments

3reactions
malisbadcommented, Apr 19, 2021

I’m also getting this issue. Deasync is a dependency of cypress-testrail-reporter, and installing deasync as a direct dependency did not resolve the issue.

Node Version: 14.15.4 Deasync Version: 0.1.21 cypress-testrail-reporter Version: 1.2.7

1reaction
chaoyangnzcommented, Jun 4, 2021

the same

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: Could not locate the bindings file. Tried - Glitch Support
rbd/pnpm-volume/be1c5275-40c5-4646-a0a7-7c79aa990349/node_modules/.registry.npmjs.org/bindings/1.5.0/node_modules/bindings/bindings.js:135.
Read more >
升级node版本后出现, Could not locate the bindings file
Error : Could not locate the bindings file. Tried: → /Users/hnzb/WebstormProjects/hnczb-crowdfunding/node_modules/bcrypt/build/bcrypt_lib.node ...
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