so, i made a pr for switching to yarn 3 and used t...
# help
c
so, i made a pr for switching to yarn 3 and used the deploy prs feature, had zero problems. but when we merged to staging, the same problem in the pic in this thread occurred
f
Hey @Carter Himmel, can you share the link to the PR build that worked, and the link to the staging build that failed?
c
f
Hi @Carter Himmel I cross referenced the log on our side for the
pr61
build v3 that succeeded and the
beta
build v68 that failed after merging the pr.
The build environments between the two builds are exactly the same: • both ran on
Standard SG
machine with 3GB memory and 2 vCPU; • both used the
General Purpose v4.0
build image • both used Node v14.16.0 (with npm 6.14.11)
Yarn install has 3 steps:
Resolution step
,
Fetch step
, and
Link step
. It seems the
beta
build was hung after the
Resolution step
finished. Here is the output from the
yarn
command.
So I wonder if it might be a intermedent network issue. Have you tried redeploying the yarn v3 commit?
c
i have no tried redeploying. every time we've attempted to deploy yarn 3 stuff to beta, it fails
f
Hey @Carter Himmel, just following up on this. I created a minimal SST with yarn 3, and was able to deploy to my SEED account. Here’s the repo - https://github.com/fwang/sst-yarn3 It’s very minimal. Maybe see if you can spot anything that could be causing the hanging issue?
c
after some testing, im still unable to create a reproducible example. the only thing in my testing that seemed to cause a hang was using private github packages, otherwise, im afraid this might be a dead end
f
I see. Can you share how you are including the dependency line in ur
package.json
? I can try setting it up on my end.
c
quite literally just
"@pushas/emailer": "0.1.0-next.bb45195.0"
f
I see. Do you have the SSH key added to your org on SEED?
c
nope, i configured .yarnrc.yml with a key
f
Can you show me you how you are setting it in ur
.yarnrc.yml
?
c

http://tugboat.dev/g2wb64.png

i seem to have an update for you ... currently using yarn 3.2.0-rc.10 and yarn install is working. if you wanna see, it's pushas/com-pushas-app v30