-
-
Notifications
You must be signed in to change notification settings - Fork 16
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 when used with Electron #17
Comments
Also just tried importing the library in the main electron process (instead of the renderer), |
However I also just tested this example app https://github.com/2bbb/node-abletonlink-example and it works properly... If anyone has any suggestions please let me know :) |
@jellohouse |
please test |
Hi @2bbb ! I'm using "electron": "^19.0.8" Testing the file node_modules/electron/dist/Electron.app/Contents/MacOS/Electron in terminal I got
Seems like it is arm64. I guess that is the problem.. but still not sure how I could solve it. Any ideas? |
ok. |
Ok so
So yes this module is compiled for x86_64 architecture. I'm not too familiar with node-gyp and stuff, but I think there must be away you can compile builds for both arm64 and x86_64 architecture. This would be very helpful for people with m1 macs. Do you think it is possible? |
I think you might just have to update your node-gyp to latest and it would do it automatically: |
Also see this nodejs/node-gyp#2391 (comment) |
Hey @2bbb any updates or thoughts on this? |
on my env, |
I published |
maybe this problem was solved. |
Hey,
I tried importing the abletonlink module in my Electron App.
But I'm getting this error:
TypeError: exists is not a function
It seems to be caused by the "bindings" node module dependency.
Any ideas on how to fix or approach this?
The text was updated successfully, but these errors were encountered: