-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
deasync: Could not locate the bindings file #179
Comments
I think deasync is compatible upto Node v18. |
This issue also occurs in Node v20.6.1 but does not occur in v18.17.1 Opening the generated log file, we find that the error is related to #181 |
That's good to know. It seems that Node v20.6.1 might need some attention before it becomes Active-LTS. Thanks for sharing that information! |
I just noticed that the auto-generated
The invalid part in:
is the sequence
Meaning that some logic replaced I wouldn't be too surprised if this was due to some breaking change around regular expressions. |
I just noticed this commit that addressed some white-space issues: b12bcb7 And then I tried downgrading from |
And looking at the original issue description, my problem likely was a different one. |
Try |
After bumping deasync to version 0.1.29, Node v20 seems to be fully supported. |
same exception |
@Mrgaton, this error occurred in a project that used the development package Note: the maintainer had "moved on to using css-in-js libraries like styled-components and emotion." However, he removed that notice from the readme and updated it. He had a change of heart on a project and returned to maintaining it. Opinion: I have used styled-components and CSS modules. Due to performance issues with styled-components, i.e. syntax errors not being caught even during runtime but slowing the application, I avoid inline CSS, especially if it needs to be wrapped in a string. |
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
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
I hope this information is helpful. Thank you for your time.
The text was updated successfully, but these errors were encountered: