-
-
Notifications
You must be signed in to change notification settings - Fork 75
Description
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
- Install the deasync package.
- Try to import the deasync module.
- 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.