Certain errors such as ReferenceError cause the dev server to crash with the error Error:linemust be greater than 0 (lines start at line 1). This can be reproduced by for instance going to a file like src/components/app-button/index.marko and commenting out an input // size = "normal", which results in the error ReferenceError: size is not defined. Since this is a common error to expect during development, I would expect the dev server not to crash. It seems that vite is finding an unexpected empty stacktrace element in the above error.
Certain errors such as
ReferenceError
cause the dev server to crash with the errorError:
linemust be greater than 0 (lines start at line 1)
. This can be reproduced by for instance going to a file likesrc/components/app-button/index.marko
and commenting out an input// size = "normal"
, which results in the errorReferenceError: size is not defined
. Since this is a common error to expect during development, I would expect the dev server not to crash. It seems that vite is finding an unexpected empty stacktrace element in the above error.