sst / ion

❍ — a new engine for SST
https://ion.sst.dev
MIT License
1.04k stars 114 forks source link

Cannot deploy with sst `>= 0.0.366` #437

Closed Ernxst closed 4 weeks ago

Ernxst commented 1 month ago

Currently on 0.0.364 and cannot upgrade any further. To upgrade, I set version: "0.0.366" in my sst config and run sst upgrade 0.0.366 which works fine. Any other command (dev, deploy, refresh etc.) fails with an error. Here's the full logs from sst deploy --verbose (v0.0.366):

❯ sst deploy --verbose
time=2024-05-17T23:16:18.062+01:00 level=INFO msg="checking for pulumi" path="/Users/ernest/Library/Application Support/sst/bin/pulumi"
time=2024-05-17T23:16:18.071+01:00 level=INFO msg="pulumi install"
j⠧ Updating dependencies...time=2024-05-17T23:16:26.874+01:00 level=INFO msg="checking for bun" path="/Users/ernest/Library/Application Support/sst/bin/bun"
time=2024-05-17T23:16:26.884+01:00 level=INFO msg="initializing project" version=0.0.366
time=2024-05-17T23:16:26.884+01:00 level=INFO msg="esbuild building"
time=2024-05-17T23:16:26.887+01:00 level=INFO msg="esbuild built" outfile="/Users/ernest/Downloads/js/ion-cf-dev-issue-main copy/.sst/eval/eval-1715984186884.mjs"
time=2024-05-17T23:16:26.887+01:00 level=INFO msg="evaluating config"
time=2024-05-17T23:16:26.924+01:00 level=INFO msg="config evaluated"
time=2024-05-17T23:16:26.924+01:00 level=INFO msg="checking platform"
time=2024-05-17T23:16:26.924+01:00 level=INFO msg="checking provider" name=cloudflare version=latest compare=latest
time=2024-05-17T23:16:27.915+01:00 level=INFO msg="cloudflare account selected" account=cb3c4a1a5ed6634f54511f1100ce874b
time=2024-05-17T23:16:28.325+01:00 level=INFO msg="found existing bucket" bucket=sst-state
time=2024-05-17T23:16:28.325+01:00 level=INFO msg="loaded config" app=ion stage=ernest
SST ❍ ion 0.0.366 ready!

➜ App: ion
   Stage: ernest

time=2024-05-17T23:16:28.325+01:00 level=INFO msg="running stack command" cmd=up
~ Deploying

time=2024-05-17T23:16:28.325+01:00 level=INFO msg="INFO locking app=ion stage=ernest"
time=2024-05-17T23:16:28.325+01:00 level=INFO msg="INFO getting data key=lock app=ion stage=ernest"
time=2024-05-17T23:16:28.641+01:00 level=INFO msg="INFO putting data key=lock app=ion stage=ernest"
time=2024-05-17T23:16:29.055+01:00 level=INFO msg="INFO pulling state app=ion stage=ernest out=\"/Users/ernest/Downloads/js/ion-cf-dev-issue-main copy/.sst/.pulumi/stacks/ion/ernest.json\""
time=2024-05-17T23:16:29.452+01:00 level=INFO msg="INFO getting passphrase app=ion stage=ernest"
time=2024-05-17T23:16:29.859+01:00 level=INFO msg="INFO getting data key=secret app=ion stage=ernest"
time=2024-05-17T23:16:30.167+01:00 level=INFO msg="esbuild building"
time=2024-05-17T23:16:30.198+01:00 level=INFO msg="esbuild built" outfile="/Users/ernest/Downloads/js/ion-cf-dev-issue-main copy/.sst/platform/eval/eval-1715984190167.mjs"
time=2024-05-17T23:16:30.199+01:00 level=INFO msg="tracked files"
time=2024-05-17T23:16:31.002+01:00 level=INFO msg="INFO pushing state app=ion stage=ernest from=\"/Users/ernest/Downloads/js/ion-cf-dev-issue-main copy/.sst/.pulumi/stacks/ion/ernest.json\""
time=2024-05-17T23:16:31.498+01:00 level=INFO msg="INFO unlocking app=ion stage=ernest"
time=2024-05-17T23:16:31.909+01:00 level=ERROR msg="exited with error" err="failed to run `pulumi version`: signal: killed"
× Unexpected error occurred. Please check the logs or run with --verbose for more details.

The same error for every version >= 0.0.364 and on every project. I'm on an M1 Mac and installed sst with the bash command on the ion home page.

thdxr commented 4 weeks ago

can you try again with 0.0.380

Ernxst commented 4 weeks ago

Can confirm it's working on 0.0.380 👍🏾