-
-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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 using 'fastcall' module. #646
Comments
I'm not 100% sure, but you can try to set the ABI version to 50. |
I remember Change to: ( "install": "cmake-js compile --runtime=electron --runtime-version=1.4.13", Then, remove |
It worked! Thank you very much! (Didn't test @dustintownsend solution, but thanks anyway!) |
I believe I found a better solution to my problem. Adding this to app/package.json will solve all ABI problems with packages that rely on cmake-js to build themselves:
If only someone knew how to fill automatically the runtime version of electron... |
I still get this error:
On Windows 10 |
Hi, I'm a C++ and Rust developer and I'm not accustomed to using so many tools and modules. You can say I'm a bit lost...
What I want to do is simple. I want to use fastcall module to invoke some native code. Here's what I've tried so far:
1- Added fastcall dependency to the root package.json file.
When I build the project, theses errors appear:
2- Added 'ffi' module to root package.json dependencies. Build project, the first error is solved, but the second still stands:
3- At this point, I've reset the project and added the 'fastcall' dependency in the app/package.json. It builds fine, but when I run the application I get this error on console:
Uncaught Error: Module version mismatch. Expected 50, got 51.
I'm aware that the ABIs from electron and my 'node_modules' don't match, so I tried to recompile them with 'electron-rebuild', but still got the same error.
Is it possible to use 'fastcall' with electron-react-boilerplate? Thank you for your time.
The text was updated successfully, but these errors were encountered: