No valid export — Error with electron-builder 22.10.5
See original GitHub issue- 22.10.5:
- 9.2.0:
I updated electron-builder dependency but now the build through this error
• electron-builder version=22.10.5 os=20.3.0
• loaded configuration file=package.json ("build" field)
• writing effective config file=dist/builder-effective-config.yaml
⨯ No valid exports main found for '/Users/iceballos/GitHub/mistica-manager/node_modules/js-yaml' stackTrace=Error: No valid exports main found for '/Users/iceballos/GitHub/mistica-manager/node_modules/js-yaml'
at resolveExportsTarget (internal/modules/cjs/loader.js:625:9)
at applyExports (internal/modules/cjs/loader.js:502:14)
at resolveExports (internal/modules/cjs/loader.js:551:12)
at Function.Module._findPath (internal/modules/cjs/loader.js:657:22)
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:960:27)
at Function.Module._load (internal/modules/cjs/loader.js:855:27)
at Module.require (internal/modules/cjs/loader.js:1033:19)
at require (internal/modules/cjs/helpers.js:72:18)
at _jsYaml (/Users/iceballos/GitHub/mistica-manager/node_modules/builder-util/src/util.ts:8:1)
at serializeToYaml (/Users/iceballos/GitHub/mistica-manager/node_modules/builder-util/src/util.ts:32:10)
error Command failed with exit code 1.
info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.
Issue Analytics
- State:
- Created 3 years ago
- Comments:9
Top Results From Across the Web
Unable to build on windows with 22.10.5 · Issue #5668 - GitHub
Building on an Azure DevOps build server. I have 2 builds and the only difference between a working and an non-working is the...
Read more >Code Signing - electron-builder
However, it is not possible to export the EV Certificate as it is bound to a physical USB dongle. Thus, you can't export...
Read more >electron-builder - npm
A complete solution to package and build a ready for distribution Electron app for MacOS, Windows and Linux with “auto update” support out ......
Read more >Can't Add Icon To Electron App With Electron Builder
These properties are valid: The title of the app should be given in productName property. The title keyword is invalid according to the ......
Read more >vue-cli-plugin-electron-builder - Bountysource
A Vue Cli 3 plugin for Electron with no required configuration ... then : Error: Electron failed to install correctly, please delete node_modules/electron...
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
Friendly ping to follow up on ☝️ 🙂 Will close otherwise.
@yceballost can you try returning a Promise instead of an async-await from your
afterSignHook.js
? Ref: #2613