YAMLException: unknown tag !<?>
See original GitHub issue- Version: 4.3.4
- Electron Version: 9.2.0
- Electron Type (current, beta, nightly): current
- Target: win
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
Unhandled Promise Rejection
YAMLException: unknown tag !<?> at line 1, column 9:
provider: spaces
^
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.
$ touch electron-builder.js
const dayjs = require("dayjs");
module.exports = {
appId: "APPID",
productName: "APP",
buildVersion: dayjs().format("YYYYMMDD"),
directories: {
app: "./build/",
output: "./dist/",
},
nsis: {
oneClick: false,
allowToChangeInstallationDirectory: true,
installerIcon: "icon.ico",
installerHeaderIcon: "icon.ico",
artifactName: "${productName} Setup ${buildVersion}.${ext}",
},
publish: {
provider: "spaces",
region: "fra1",
name: "asd",
path: "app/v2/beta",
channel: "beta",
},
};
Same results when using a similar configuration (just without the buildVersion field), using the package.json
.
app-update.yml
is as follows:
provider: spaces
region: fra1
name: asd
path: /app/v2/beta
updaterCacheDirName: app-updater
publisherName:
- MyOwnName
builder-effective-config.yaml
directories:
output: ./dist/
buildResources: build
app: ./build/
appId: APPID
productName: APP
nsis:
installerIcon: icon.ico
installerHeaderIcon: icon.ico
artifactName: '${productName} Setup ${buildVersion}.${ext}'
publish:
provider: spaces
region: fra1
name: asd
path: /app/v2/beta
electronVersion: 9.2.0
I’m using webpack to bundle my electron app, in case that matters.
Any ideas what might be happening?
Issue Analytics
- State:
- Created 3 years ago
- Comments:11
Top Results From Across the Web
AWS SAM YAML template - Unknown Tag !Ref - Stack Overflow
When I try to deploy my AWS SAM YAML file, it fails saying the !Ref is an unknown tag.
Read more >YAML tags not working in non Lovelace YAML mode
Unable to parse YAML: YAMLException: unknown tag !<!include_dir_merge_named> at line 81, column 84: ... templates/templates/button-card/.
Read more >CI/CD pipeline editor gives `unknown tag` error when using ...
Using !reference in the script section scope renders an error in the CI/CD pipeline editor UI, saying it is an unknown tag -...
Read more >AWS CloudFormation YAML function intellisense errors
I updated visual studio 2019 today to 16.8 and using AWS YAML functions such as !Ref shows up as intellisense errors (“unknown tag...
Read more >yaml exception unknown tag ref
yaml exception unknown tag ref. This error message is almost certainly a false-positive from the YAML parser your IDE is using. To assess...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Ok, i’ll check this. Let’s continue here: https://github.com/javascript-obfuscator/javascript-obfuscator/issues/790
Not related with electron-updater but with webpack obfuscator plugin I’m using.