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
[v.1.0.0-rc.4] RangeError: Invalid count value #707
Comments
This looks like two bugs: one for Vite about pretty-printing warnings with large line numbers, and one for Rollup for an incorrect code transformation. I filed the Rollup bug here: rollup/rollup#3729. |
Fixed on Rollup side. |
Fixed in |
Tried with I confirm that the problem does not occur with |
I'm getting this too |
works fine |
Same here, cannot build with swiper.js
Downgrade to |
Describe the bug
I'm using vite to build react app and I have a bug when execute
vite build
. This bug occurred at vite@1.0.0-rc.4, but not vite@1.0.0-rc.3 . And also, the bug didn't occur when I remove styled-components from the project.Reproduction
https://github.com/wan-nyan-wan/vite-warning-bugs
System Info
vite@1.0.0-rc.4
Ubuntu 18.04
v14.5.0
1.22.4
Logs
Below is a build log.
The text was updated successfully, but these errors were encountered: