-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
Fix esbuild 0.24.1 issue #2425
Comments
I can confirm this also happens what I do the steps you described 👍 thank you for the report Esbuild team track this here: evanw/esbuild#4010 It should be fixed by this PR: evanw/esbuild#4013 (I suppose this will be then released in the next Let's see if this get released today and that should be it. If it doesn't happen, we should quickly patch this since Wasp is now broken and you can't really work on new apps! |
Hi @infomiho, I tried 2 options, but none worked.. 1. Forcing {
"name": "my-app",
"dependencies": {
...
},
"devDependencies": {
...
"vite": "4.2.0"
}
}
2. Overriding {
"name": "my-app",
"dependencies": {
...
},
"devDependencies": {
...
},
"overrides": {
"vite": {
"esbuild": 0.24.0
}
}
}
|
vite@6.0.5 is out pinning to esbuild 0.24.0 until this is fixed in esbuild, you can update to vite instead of doing the override |
Thank you @patak-dev! This fixed our problem now :) Wasp now works again @AlperGurel but we are still going to look into pinning some of our deps (e.g. Vite or our Rollup plugin for bundling the server) in the future. |
Describe the bug
wasp start
command fails on a newly created example to do project. With this error. I have been using wasp for over a month now, my project failed today with an error. When I try new project from wasp, it also failed.To Reproduce
Steps to reproduce the behavior:
Enter
wasp new
in terminal.Select todo-ts app by pressing 2 and enter.
Type
wasp db migrate-dev
Type
wasp start
Expected behavior
I should be able to see the app start successfully.
Screenshots
Desktop (please complete the following information):
Additional context
People over internet mention it is an esbuild problem so they were able to solve it by downgrading esbuild, but it didn't work for me.
The text was updated successfully, but these errors were encountered: