Skip to content

deasync: Could not locate the bindings file  #179

@atlas340

Description

@atlas340

Description

I am trying to use the deasync package in my project, but I am getting the following error:

Error: Could not locate the bindings file. Tried:
→ .../node_modules/deasync/build/deasync.node
→ .../node_modules/deasync/build/Debug/deasync.node
→ .../node_modules/deasync/build/Release/deasync.node
→.../node_modules/deasync/out/Debug/deasync.node
→.../node_modules/deasync/Debug/deasync.node
→ .../node_modules/deasync/out/Release/deasync.node
→.../node_modules/deasync/Release/deasync.node
→.../node_modules/deasync/build/default/deasync.node
→ .../node_modules/deasync/compiled/20.5.0/linux/x64/deasync.node
→ .../node_modules/deasync/addon-build/release/install-root/deasync.node
→ .../node_modules/deasync/addon-build/debug/install-root/deasync.node
→.../node_modules/deasync/addon-build/default/install-root/deasync.node
→.../node_modules/deasync/lib/binding/node-v115-linux-x64/deasync.node

I am using Node.js v20.5.0. I have tried reinstalling the deasync package, but the error persists.

Steps to Reproduce

  1. Install the deasync package.
  2. Try to import the deasync module.
  3. Get the error.

Expected Behavior

The deasync module should be imported successfully and I should be able to use it in my code.

Actual Behavior

I get the error message "Could not locate the bindings file".

Possible Solutions

  • The deasync package may not be compatible with Node.js v20.5.0.
  • The deasync package may not have been installed correctly.
  • There may be a problem with my Node.js installation.

I hope this information is helpful. Thank you for your time.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions