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

Rob N

04/05/2022, 9:18 PM
Hey has anyone seen this issue before. running
npx sst start
in my monorepo is just streaming
Stacks: Synthesizing changes...
forever. Anyone know what would cause this?
f

Frank

04/05/2022, 9:52 PM
Hey @Rob N, does it happen if u restart
sst start
?
r

Rob N

04/05/2022, 9:55 PM
hey @Frank yes its been happening all day. Tried a million different things
I dunno if this is PNPM related, we are running yarn in the sst folder and pnpm everywhere else due to the pnpm bug currently in SST
although i just tried upgrading sst which has put me on the beta 5 and that is giving me a completely different error.
Copy code
Error: The specified runtime is not supported for sst.Function. Only NodeJS, Python, Go, and .NET runtimes are currently supported.
f

Frank

04/05/2022, 9:57 PM
^ i see.. let me try to cut a release w/ the pnpm today and see if this continues to happen.
can i see what you are setting the runtime to?
r

Rob N

04/05/2022, 9:58 PM
sure where is that set?
you mean this?
f

Frank

04/05/2022, 9:59 PM
in your
index
, do u have something like
app.setDefaultFunctionProps()
?
r

Rob N

04/05/2022, 9:59 PM
oh right sorry...
Copy code
runtime: lambda.Runtime.NODEJS_14_X
f

Frank

04/05/2022, 9:59 PM
ah yeha this has been changed to
Copy code
runtime: "nodejs14.x"
don’t need to import
lambda
just to set runtime anymore
r

Rob N

04/05/2022, 10:08 PM
thanks rerunning..
well so far it looks more promising
damn spoke to soon.... lol
f

Frank

04/05/2022, 10:09 PM
lol same issue?
r

Rob N

04/05/2022, 10:10 PM
yeah it just streams down the console at a crazy rate
must be pnpm related
i cant think of what else it would be
f

Frank

04/05/2022, 10:11 PM
so
sst start
keeps there are changes in the resources code, and trying to rebuild them
Lemme fix that pnpm issue first, and see if that fixes this.
r

Rob N

04/05/2022, 10:11 PM
cool no worries
f

Frank

04/05/2022, 10:12 PM
I will keep u posted!
r

Rob N

04/05/2022, 10:12 PM
Really appreciate it thanks @Frank! πŸ‘
o

Omi Chowdhury

04/06/2022, 4:24 AM
Hey @Rob N I think I just fixed this and Dax released this as 0.69.4
r

Rob N

04/06/2022, 8:19 AM
awesome thanks guys I will give it a go and report back later
Thanks @Omi Chowdhury that has fixed the infinite loop issue! πŸ‘
Hey @Frank did the pnpm issues ever get fixed?
f

Frank

04/13/2022, 6:55 PM
@Rob N the pnpm issue is fixed in v0.69.6 and v1.0.0-beta.20 πŸŽ‰
r

Rob N

04/13/2022, 8:47 PM
βœ‹ Praise the Frank! 🀚 Thanks I will check it out now
6 Views