RangeError: Maximum call stack size exceeded when a .env file has environment variable with default values #13399
Closed
7 tasks done
Labels
bug: upstream
Bug in a dependency of Vite
p2-edge-case
Bug, but has workaround or limited in scope (priority)
Describe the bug
if you have a .env file in your project and this has environment variable with default values, you will get this error
this only happened to me in Linux and my ci with docker, this does not happen on windows (my main machine)
Reproduction
https://stackblitz.com/edit/vitejs-vite-brtwpg?file=.env
Steps to reproduce
npm init -y
vite
.env
file with this contentnpx vite
System Info
Used Package Manager
npm
Logs
Validations
The text was updated successfully, but these errors were encountered: