-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Support Qwik City (Vite framework for Qwik) #3783
Comments
Update for Bun 7.1 - Qwik City now returns only the Sharp issue:
|
I also get this error running
|
@birkskyum Do you know if this can be solved by adding sharp to the trusted dependencies for the qwik project? |
@EamonHeffernan , it can yes. Bun runtime does support qwik alright, it's just bun install that is troublesome. The trustedDependencies is a bit flaky, so you might have to delete bun.lockb and node_modules before running bun install again. Related You can also just run |
Hi, thanks. That's my pr haha. I was just seeing if there was something that could be added to the package.json automatically on |
yes |
On the qwik side of things, it is now adding sharp to trusted dependencies in the template. The underlying issue is not solved. |
Amazing! This works as expected with canary (1.0.17+5e60861c3) VITE v5.0.8 ready in 783 ms
➜ Local: http://localhost:5173/
➜ Network: use --host to expose
➜ press h + enter to show help
❗️ Expect significant performance loss in development.
❗️ Disabling the browser's cache results in waterfall requests. |
These warnings are a bit concerning though... idk |
After creating an empty project using
|
same issue |
I get the same warnings on a fresh |
Qwik - Qwik City - GitHub
What version of Bun is running?
0.7.1
What platform is your computer?
Darwin 22.5.0 arm64 arm
What steps can reproduce the bug?
bun x create-qwik@latest
bun i
bun --bun run dev
What is the expected behavior?
bun --bun run dev
What do you see instead?
Last part of Debug Log
Additional information
There could be multiple issues here
For the latter issue the dependency graph is:
@builder.io/qwik-city
(in package.json)->
vite-imagetools
->
imagetools-core
->
sharp
Related Sharp tickets (See Bun 7.1 update below)
Related tickets of the vite.config.ts issue (Solved)
The text was updated successfully, but these errors were encountered: