Skip to content

Electron Forge can't read ERS publisher config #351

Open
@busterbogheart

Description

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?

Activity

emanoelqueiroz

emanoelqueiroz commented on Oct 25, 2023

@emanoelqueiroz

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

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Electron Forge can't read ERS publisher config · Issue #351 · ArekSredzki/electron-release-server