-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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
After build, dev server run in error process is not defined
#161
Comments
The reason for this. The reg matched comment script. I fix this through other way which But still has other bugs with the track dependencies. BTW, I find someone of the dependencies of vue is |
Yeah.I'm sorry for not say it clearly. |
I ran into the same problem with svelteKit, on just one specific page. |
Describe the bug
After a sucessful build of the app, when try running
npm run dev
again, it runs normally, but the app under the dev server cannot open in browser properly. the chrome console shows:when trace into the file, it shows:
in the
source code
tab, the content of the(index)
is:line 12-17 is automatically commented.
when running vite with
--debug --force
flags, it shows:Reproduction
Please provide a link to a repo that can reproduce the problem you ran into.
A reproduction is required unless you are absolutely sure that the the problem is obvious and the information you provided is enough for us to understand what the problem is. If a report has only vague description (e.g. just a generic error message) and has no reproduction, it will be closed immediately.
System Info
vite
version: 0.15.3vue
version: 3.0.0-beta.10@vue/compiler-sfc
version: 3.0.0-beta.10Logs (Optional if provided reproduction)
vite
orvite build
with the--debug
flag.The text was updated successfully, but these errors were encountered: