Hello I'm using sst v3 which is based on pulumi, f...
# general
t
Hello I'm using sst v3 which is based on pulumi, for some reason my stack preview command fails with this message: error: an unhandled error occurred: Program exited with non-zero exit code: 1 I tried adding
-v=11 --logflow --logtostderr
flags to pulumi by editing sst code, I got a lot of logs but none of them seem to tell why did it exit Someone else suffered from the same issue, they say that upgrading Github Actions Runner spec with more compute and RAM fixed the issue for them, for me I run the command on my laptop, here are my laptop specs: 24GB RAM, AMD Ryzen 7 7840HS CPU, and NVMe disk I guess pulumi exits due to memory error or something even though I don't see any out-of-memory errors logged. I tried changing my OS limits for open files through ulimit(my OS is Arch Linux) without any luck Pulumi version is 3.205(I upgraded what sst uses) but versions dating back to 3.146 didn't work. Nodejs version is 22.20, I'm using Typescript. As for my stack, it seems that the number of deployed resources is what causes the problem not a specific resource, this has been confirmed by removing resource A and trying then adding resource A back and delete resource B instead and trying the command Whether I remove resource A or B the command
preview
succeeds, but keeping both of them fail the command(this is just a demonstration, the number of resources is way bigger than that)
👀 1