-
-
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
Works in dev, but not on a production build #10542
Comments
Please provide a minimal reproduction, not the complete project. |
Hello @FireMasterK. Please provide a minimal reproduction using a GitHub repository or StackBlitz. Issues marked with |
Hi, I've added a StackBlitz for reproduction. |
I tested on |
Hmmm, not sure what's going on here! It started appearing on my project when I upgraded to v3. |
I have same issue in this project. It is not live yet so only noticed the first time I ran build, then preview. Seems a bit hard to debug as all the info we get is:
No idea what file caused this. Edit: Found this error in the build command but not sure how to deal with it:
Is this an issue with vite or with LexicalDragon? |
This should be a library issue. If you want to ignore it, you can set |
Yes, it is caused by a faulty import in stream: juliangruber/stream#5 (comment). I could patch it using patch-package. |
Describe the bug
So, I upgraded my project from Vite
v2.9.15
tov3.1.8
, after which I started getting build warnings and issues.Reproduction
https://stackblitz.com/edit/vitejs-vite-retclp?file=main.js
Steps to reproduce
Run:
Open https://piped.kavin.rocks/watch?v=CKo-jOp6twg
System Info
Used Package Manager
yarn
Logs
Browser:
Vite build:
The symptoms are quite similar to #6586
Validations
The text was updated successfully, but these errors were encountered: