Skip to content

Forge-Build - no errors displayed when build failed #3497

Open
@elvince

Description

@elvince

Pre-flight checklist

  • I have read the contribution documentation for this project.
  • I agree to follow the code of conduct that this project uses.
  • I have searched the issue tracker for a bug that matches the one I want to file, without success.

Electron Forge version

7.2.0

Electron version

28.2.2

Operating system

win 10

Last known working Electron Forge version

No response

Expected behavior

When there is a build issue, the terminal should provide the information of the error and stop processing other steps

Actual behavior

As of today:
✔ [plugin-webpack] Compiling main process code [23s]
✔ [plugin-webpack] Launching dev servers for renderer process code [2m9s]

Where as the main build is on error.
As a consequence, the launch process failed to find the main entry.

Steps to reproduce

Set a bad import in a TS file and launch the start process

Additional information

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    blocked/needs-reproIssues unable to be reproduced by maintainersbugplugin/webpackIssues or pull requests related to first-party webpack plugins/templates

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions