Skip to content

[BUG]: Vite does not report syntax errors or typos when doing the hot-reload or on the web browser. Why? #93

@ANeaves

Description

@ANeaves

If a typo is introduced during development (such as a missing import) we'd expect to see the error information shown in the web browser (by the ErrorContext component) and/or in the terminal where Vite did the hot reload. Instead we get no terminal issues, a blank white GUI screen, and the only error is in the web browser console. Which seems incorrect.

Find a means to modify this, either in the vite config settings or in the ErrorBoundary, to ensure these errors are caught correctly

It may be that the provided ErrorBoundary (within OdinApp) is in the wrong place within the component tree to properly catch these errors

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions