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
Vite 2.4.0 Broke my setup #4128
Comments
I have a good faith belief it is a vite bug. however I can be proven wrong about this |
I'm having the same issue running vite inside docker does not work but it does outside |
Same issue here. Vite 2.4.0 now exits with code 0 immediately. Running it inside docker, too. |
It works when running vite inside a shell started with Adding |
Could you check if #4082 fixes your issues? |
I can confirm it does fix the issue. |
@mellester you can directly update to vite@2.4.1 to test this |
@patak-js it did not fix it by upgrading to 2.4.1 |
Ok, I think we should then close this issue for the moment. Please open a new one that is more specific if you think Vite should still change something and this shouldn't be the responsibility of the user while configuring docker. |
Why would that help? #4082 is not merged, yet, and therefore not part of 2.4.1. I made the same changes as in #4082 locally and it does indeed fix the issue here - no
It should be closed when merging #4082. Right now the issue still persists, even though there is the workaround I posted above. |
Thanks @wolfgangwalther, I thought we had managed to merge it before 2.4.1, this will be in the next version then. |
would be real cool if you can push a version with this fix :) |
We are releasing a new patch version every week (Monday/Tuesday), we'll have 2.4.2 soon :) |
Thanks a lot !
Le sam. 10 juil. 2021 à 21:07, patak ***@***.***> a écrit :
… We are releasing a new patch version every week (Monday/Tuesday), we'll
have 2.4.2 soon :)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#4128 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAJVOG43JDPS6FN3KZLHSILTXCK7VANCNFSM4725M6ZA>
.
|
Describe the bug
When starting a VITE service via docker it exists with exit code 0 and no apparent error messages
Downgrading to 2.3.8 solves the problem for me. And it starts working again
I have a php backend via larravel-sail
and use vite for the frontend vue component I have removed everything I thought not really relevant.
Reproduction
https://github.com/mellester/bug-vite-repro/tree/master
I have uploaded a repro which reproduces the bug on my system at least.
I use docker on wsl2.
I use Laravel sail to deal with docker-composer.
In case you aren't familiar 'sail up' after 'composer install' will launch the docker services.
Not being very able in docker magic, I felt I needed to include Laravel sail in the repo
I included the Laravel basic starter app for completeness.
and the basic VITE starter page.
The files I edited heavily are the docker-compose.yaml and they index.js that start the express server.
System Info
Used Package Manager
npm
Logs
No response
Validations
The text was updated successfully, but these errors were encountered: