Closed cintek closed 3 days ago
I don't get this issue with pnpm
. I suspect that yarn
is not installing the correct version of some package, in fact this log is fishy
➤ YN0007: │ esbuild@npm:0.21.5 must be built because it never has been before or the last one failed
➤ YN0007: │ sharp@npm:0.33.3 must be built because it never has been before or the last one failed
➤ YN0007: │ sharp@npm:0.33.5 must be built because it never has been before or the last one failed
Two versions of sharp?
@ematipico for some reason the yarn.lock
states that astro
needs the dependency sharp 0.33.3
which doesn't seem to be the correct version. Even after I removed the cache etc. of Yarn and installed all dependencies again this issue persisted. I can confirm that pnpm
doesn't have this problem so I guess I will continue with pnpm
. Thanks for your help!
Astro Info
If this issue only occurs in one browser, which browser is a problem?
Appears in Firefox and Chromium-based browser.
Describe the Bug
git clone https://codeberg.org/chikl/datendiaet
git checkout 9b3fb63107
yarn
to install dependencies (I know the Readme contains instructions for npm but I didn't change it yet)yarn dev
What's the expected result?
The dev server should continue to work.
Link to Minimal Reproducible Example
https://codeberg.org/chikl/datendiaet/commit/9b3fb63107ba35ce2050c8955a653b7b5dd3f209
Additional information
Although I linked a commit with a non-up-to-date version of astro I can confirm that this problem also appears with the recent version of it.
Here are the changes between the last commit where the dev server didn't crash and the one where it started to crash: https://codeberg.org/chikl/datendiaet/commit/9b3fb63107ba35ce2050c8955a653b7b5dd3f209
In the browser I can see that requests were made to the following pages and these requests wait for an answer until the server crashes:
The stack trace starts with
and ends with: