-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Symbol not found #3590
Comments
I'm seeing the same issue. I have the "postinstall": "electron-builder install-app-deps", added to my package.json After running yarn I see
Then when I start I get this message:
When I run $(npm bin)/electron-builder install-app-deps I see:
And after that the app starts normally. When I try to release the app, it runs the install-app-deps again as it did with the postinstall
|
Same issue here using the |
This may be due to an issue where the ABI for both Electron v3 and v4 is 64, but the builds are not compatible: electron/node-abi#55 |
@gniezen, thanks for your help. I looked over your linked ticket, but didn't see a solution.
As far as I know, Is there anything I can do about? |
@phhoef Have you tried downgrading your Yes, it's also my understanding that due to them using the same ABI, Electron v4 tries to use the prebuilt binaries made for Electron v3. The only solutions I see at this stage:
|
I just saw, that there is a new version of |
@phhoef I still have the problem we keytar... |
@benoist I downgraded keytar to v4.2.1 as a workaround. |
"electron-builder": "^20.38.4"
macOS & Windows x64
I am writing a small app that utilises serialport as dependency (which itself has native dependencies).
When starting the app in dev mode (
npm-run-all --parallel bundle serve
) everything is working fine. I am usingelectron-rebuild
aspostinstall
script to compile the native dependencies for the used Electron (4.0.0) version.When building the app for production issuing
yarn build && electron-builder build --publish never
, I cannot start the app bundle with the following error in the macOS log:After I have tried building the app, I am no longer able to start the app in dev mode with the shown command.
This error is shown when starting the app in dev mode:
I have to run
$(npm bin)/electron-builder install-app-deps
first, only after that I can start the app in dev mode again.Running
($npm bin)/electron-rebuild
does not work for some reason.It seems, that this is an issue with the packaging.
I am quite new to all the electron, nodejs stuff so I do not think this is a bug. Probably my configuration is wrong.
Could anyone please help me out?
EDIT:
I've created a small test application to reproduce the issue.
Maybe it's helpful. https://github.com/phhoef/serialport-test
The text was updated successfully, but these errors were encountered: