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 #142

Open
tnrich opened this issue Feb 4, 2021 · 7 comments
Open

Error: Could not locate the bindings file #142

tnrich opened this issue Feb 4, 2021 · 7 comments

Comments

@tnrich
Copy link

tnrich commented Feb 4, 2021

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!

@vkabysh
Copy link

vkabysh commented Feb 21, 2021

Same for me
apple m1
node v14.15.5

@halfnibble
Copy link

We noticed this after a code change brought in a dependency that had a dependency on deasync to a project that also had a dependency on deasync. Reverting that seemed to resolve the problem for us, but I don't know why having two dependencies on deasync would create this problem.

@malisbad
Copy link

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

@chaoyangnz
Copy link

the same

@chmelevskij
Copy link

getting similar issue in eslint vscode plugin not beeing able to run because of missing bindings 🤷

@ackvf
Copy link

ackvf commented Jul 26, 2022

Still causing errors

@trusktr
Copy link

trusktr commented May 27, 2023

Is this because apple silicon is not supported yet?

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

8 participants