Spurious Internal server error: Unexpected token
in vite dev
only on vue 3.2.35+
#6070
jbg
started this conversation in
General Discussions
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
If we update to vue 3.2.35 or later,
vite
(dev server) fails with errors like this. The component is different every time, and theunexpected token
is usually pointing to the middle of a word or a space. I think the position (1:89) is pointing to a position in generated code, rather than the file indicated.vite build
works without any problem. Downgrading back to vue 3.2.34 resolves the issue too.I want to file a bug report, but it insists on a minimal reproduction and despite spending some time on this, I haven't been able to find one.
Beta Was this translation helpful? Give feedback.
All reactions