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

Error page not showing up on invalid statements #8303

Closed
7 tasks done
fs86 opened this issue May 24, 2022 · 1 comment
Closed
7 tasks done

Error page not showing up on invalid statements #8303

fs86 opened this issue May 24, 2022 · 1 comment

Comments

@fs86
Copy link

fs86 commented May 24, 2022

Describe the bug

The error page dosn't show up on invalid statements. I've tested this with a fresh react-ts project. Please see the screenshots below:

vite-error-01
vite-error-02

Reproduction

Create a new vite project and use the react-ts template.

System Info

System:
    OS: Windows 10 10.0.19043
    CPU: (12) x64 Intel(R) Core(TM) i7-8700 CPU @ 3.20GHz
    Memory: 18.30 GB / 31.83 GB
  Binaries:
    Node: 16.13.1 - C:\Program Files\nodejs\node.EXE
    Yarn: 1.22.17 - C:\Program Files\nodejs\yarn.CMD
    npm: 8.1.2 - C:\Program Files\nodejs\npm.CMD
  Browsers:
    Edge: Spartan (44.19041.1266.0), Chromium (101.0.1210.53)
    Internet Explorer: 11.0.19041.1566

Used Package Manager

yarn

Logs

No response

Validations

@sapphi-red
Copy link
Member

It does show error overlay for invalid syntax.
image

If you are looking for runtime errors like ReferenceErrors, there is an feature request at #2076.
Or if you are looking for type-check errors, Vite does not support it and it is out of scope. You could use vite-plugin-checker for it.

Closing as it is invalid or duplicate.

@sapphi-red sapphi-red closed this as not planned Won't fix, can't repro, duplicate, stale May 24, 2022
@github-actions github-actions bot locked and limited conversation to collaborators Jun 8, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants