Skip to content
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

Electron Forge can't read ERS publisher config #351

Open
busterbogheart opened this issue Oct 6, 2023 · 1 comment
Open

Electron Forge can't read ERS publisher config #351

busterbogheart opened this issue Oct 6, 2023 · 1 comment

Comments

@busterbogheart
Copy link

I have set the recommended forge config in publishers like

    {
      name: '@electron-forge/publisher-electron-release-server',
      config: {
        baseUrl: 'http://..... ',
       password: 'xxxxxxx'

and it is working well locally.

When running the same codebase in CircleCI, a new and un-Googleable error occurs:

An unhandled rejection has occurred inside Forge:
Error: In order to publish to ERS you must set the "electronReleaseServer.baseUrl", 
"electronReleaseServer.username" and "electronReleaseServer.password" properties in your 
Forge config. See the docs for more info

There is no information anywhere about this electronReleaseServer config object, and no matches for the error message.

Where does this come from?

@emanoelqueiroz
Copy link

reading the error and looking at your code I presume that the username is missing

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants