-
-
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
YAMLException: unknown tag !<?> #5234
Comments
Not related with electron-updater but with webpack obfuscator plugin I'm using. |
@rasgo-cc It seems to be caused by |
@JohnWeisz I ended up doing exactly the same, also not sure why that happens. I also had some issues (if I can recall correctly, related with webpack external modules) when using this option on the obfuscator: |
I'm seeing a similar issue. Did you manage to resolve it? Is there an issue to track on javascript-obfuscator? |
Can anybody create a small minimal reproducible example (repository) with this bug? I'll try to investigate this problem. |
@sanex3339 thank you for your time! I noticed if I use webpack-obfuscator as a loader instead of a plugin I don't get this error. This way only my code gets obfuscated and not all the node modules the main process depends on. I'd assume this is expected behaviour but let me know if Im wrong. |
I'm not sure that this is the expected behaviour. So i need a reproducible example |
@sanex3339 planning to create a public repo that reproduces this by the end of this week / this weekend |
Nice! |
Interestingly, I can't reproduce the error with a much stripped down version of the code. Using the webpack-obfuscator plugin, electron updater attempts to fetch an update from digital ocean spaces meaning it successfully reads the In the meantime, I just started using the loader so only my code is obfuscated. However, it would be nice to have the whole bundle obfuscated, if that's possible. |
Ok, i'll check this. Let's continue here: |
Im getting this error when starting a packed app on Windows and I have no idea where to look for.
Screenshot: http://prntscr.com/u1hxpo
All yaml configurations look fine (local and the update ones sent to the provider - spaces). I'm using spaces from Digital Ocean and I'm using a JS file for configuration.
Same results when using a similar configuration (just without the buildVersion field), using the
package.json
.app-update.yml
is as follows:builder-effective-config.yaml
I'm using webpack to bundle my electron app, in case that matters.
Any ideas what might be happening?
The text was updated successfully, but these errors were encountered: