Running locally for development should give helpful message

I have…

I’m submitting a…

  • [ ] Regression (a behavior that stopped working in a new release)
  • [x] Bug report
  • [ ] Performance issue
  • [ ] Documentation issue or request

Current behavior

Local backend build crashes if frontend application not running. WebpackMiddleware does not handle the exception of line 39 failing.

Expected behavior

Should give you helpful message to run the frontend node application and to ensure port 3000 is not used by anything else.

Minimal reproduction of the problem

Environment

  • [ ] Self hosted with docker
  • [ ] Self hosted with IIS
  • [ ] Self hosted with other version
  • [ ] Cloud version
  • [x] Local build from Rider IDE

Version: 5.7

Browser:

  • [ ] Chrome (desktop)
  • [ ] Chrome (Android)
  • [ ] Chrome (iOS)
  • [ ] Firefox
  • [ ] Safari (desktop)
  • [ ] Safari (iOS)
  • [ ] IE
  • [ ] Edge
  • [x] Brave

Others:
Attached picture of default behaviour vs improved behaviour: https://imgur.com/a/B3PMJcH

I’ll be happy to send pull request if you require thanks. I understand it isn’t mission critical but thought I would suggest. Thanks.

A pull request would be great :slight_smile:

Sure. Is there anything specific you require in terms of the message? :slight_smile:

No, not really. But please make it localizable, so that all texts are managed from a local place. At the moment it is a middleware. But perhaps you can make a controller with a view like the login page and invoke the controller somehow from the middleware. (not sure if it is possible).

Then it also looks good.