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
Strange things are happening in packed electron environment #133
Comments
One more thing: I also get lots of those errors after the error above:
I'm not sure if they also come from |
It works fine when packed if I use Currently trying to find out why the connect promise never resolves nor rejects. |
I'm just gonna post this here too (as I'm still not sure whether it's a bug of
|
Have you looked at what companion is going? That is using v3.1.2 of atem-connection and noone has reported any issues with it |
Good idea. I noticed that companion is using electron 13. I'll try with that one. |
This seems to be the right direction! It's working with Edit: Maybe it's a fault of |
The electron version sounds like a strange this to break it, but its possible... |
|
Continuing at nytamin/threadedClass#74 |
Closing this as it is definitely not a problem of |
I'm submitting a ...
[x] bug report
[ ] feature request
[ ] question about the decisions made in the repository
[ ] question about how to use this project
Summary
Hi all,
I just ran into a very strange problem. The ATEM functionality in my application is working, if i start it in dev mode (using node or electron does not matter). However, when it is packed (using
electron-builder
), the promise of theatem.connect()
method never resolves nor rejects.To me, that sounds like a problem with the libraries being packed into an asar file, so I went ahead and added the following libraries to
asarUnpack
:However, this does not change anything.
Even more strange things:
I got lots of crash reports with the following error:
However, I could only reproduce that error on my machine once and not anymore (?).
Do you have any clue what could be the problem? It's probably not my bundler (esbuild) as (I) I've marked all packages as external and (II) it works if started with
electron dist/index.ts
.I'm using
"atem-connection": "3.1.2"
and"electron": "20.3.8"
.The only idea I have is going back version by version until it works again and then trying to figure out what has changed.
The text was updated successfully, but these errors were encountered: