-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
[🐞] Running unit tests encountering error after upgrading to 1.2.0 #4643
Comments
Is it netlify? |
Can you double check that the install and execution of the build is done with the same package manager? |
Yes the same package manager was used cross jobs in my CI. The problem didn’t exist with 1.1.5. We don’t use netlify in our codebase. The error came from the job of running all unit tests for both Vue and Qwik projects via a yarn workspace. When the tests in Vue project were finished, the tests in Qwik started and the error occurred immediately. |
Trying to rule out some issues, would it be possible to clean up the CI cache? |
Facing the same issue on my Arch machine when using bun to start dev server, works fine with npm & pnpm Installed dependencies using
|
Still trying to figure out why... but seems like a known issue: This is too bad :( i really want developers to use bun, or any other tool, this is because of a new dependency for the image optimization. Sharp is the best, well-known dependency to handle this... Kind of disappointed with this issues, going to try to hack some solution |
the solution i found was |
The tests passed now after rebuilding
I created a separate issue for Storybook build failed #4756 |
I close this one because it's solved. Thanks |
Which component is affected?
Qwik Runtime
Describe the bug
After upgrading to 1.2.0, my company's project pipeline failed with this error
I can't reproduce with my Mac M1 locally.
I think it has something to do with
sharp
and theGitlab
runner OS. TheGitlab
runner is aDocker
runner.My company's project uses
yarn
Berry as package manager which I added the same setup in the example repo.Reproduction
https://github.com/ahnpnl/my-qwik-app/tree/bug/sharp-error-unit-test
Steps to reproduce
bug/sharp-error-unit-test
yarn
yarn test.unit
System Info
Additional Information
No response
The text was updated successfully, but these errors were encountered: