create-astro
gets stuck installing deps under certain conditions (yarn, network throttle)
#6166
Labels
- P3: minor bug
An edge case that only affects very specific usage (priority)
What version of
astro
are you using?@next--refactor
(merged intomain
, but not in a release yet)Are you using an SSR adapter? If so, which one?
n/a
What package manager are you using?
yarn
What operating system are you using?
macOS
12.6.3 (latest release of Monterey), M1 hardwareDescribe the Bug
While triaging #6165, I ran across an odd bug, which may or may not occur in the wild.
I've only seen it while using "Network Link Conditioner", from https://developer.apple.com/download/all/ -- I have Xcode 13.2, so I downloaded "Additional Tools for Xcode 13.2", then installed "Network Link Conditioner.prefPane", found inside the "Hardware" folder. I'm guessing this would also occur when network conditions deteriorate "naturally", but I haven't verified this.
yarn create astro@next--refactor
Looking at what is being written into
.yarn/cache
, it appears to be complete.I had to use
ps | grep astro
&kill <pid>
to stop it.Latest node v16 release, v16.19.0: yarn 3.4.1.
Latest node v18 release, v18.14.0: yarn 3.4.1.
Latest node v19 release, v19.6.0: yarn 3.4.1.
After the next
create-astro
release occurs, it should be possible to reproduce by runningyarn create astro
, since #6082 has been merged intomain
.Link to Minimal Reproducible Example
n/a
Participation
The text was updated successfully, but these errors were encountered: