https://serverless-stack.com/ logo
#help
Title
# help
c

Carter Himmel

11/25/2021, 1:53 AM
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

Frank

11/25/2021, 7:47 PM
Hey @Carter Himmel, can you share the link to the PR build that worked, and the link to the staging build that failed?
c

Carter Himmel

11/28/2021, 6:38 PM
f

Frank

12/02/2021, 6:05 AM
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

Carter Himmel

12/02/2021, 11:05 PM
i have no tried redeploying. every time we've attempted to deploy yarn 3 stuff to beta, it fails
f

Frank

12/05/2021, 12:56 PM
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

Carter Himmel

12/10/2021, 4:19 AM
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

Frank

12/11/2021, 3:57 AM
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

Carter Himmel

12/13/2021, 4:49 AM
quite literally just
"@pushas/emailer": "0.1.0-next.bb45195.0"
f

Frank

12/13/2021, 8:10 AM
I see. Do you have the SSH key added to your org on SEED?
c

Carter Himmel

12/17/2021, 11:36 PM
nope, i configured .yarnrc.yml with a key
f

Frank

12/18/2021, 8:00 AM
Can you show me you how you are setting it in ur
.yarnrc.yml
?
c

Carter Himmel

12/22/2021, 4:43 AM

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