sst / ion

SST v3
https://sst.dev
MIT License
1.88k stars 221 forks source link

SST hangs after updating to macOS Sequoia – 🟢 with solution 🟢 #1121

Closed joneslloyd closed 5 days ago

joneslloyd commented 5 days ago

I'm posting this issue so that it's searchable by others in the same position.

Expected Behaviour

npx sst dev works, and/or the NO_BUN=true env var is respected, even after updating to macOS Sequoia.

Actual Behaviour

All SST commands (npx sst dev etc – With or without NO_BUN=true as a prefix) hang after updating to macOS Sequoia.

Fix

The fix is a variation of what woodsrogers suggested here.

My version of the fix is:

  1. Go to ~/Library/Application Support/sst/bin/ (terminal; Finder; whatever)
  2. Delete the existing bun executable
  3. Using VScode or whatever you like, create a new file called bun and add this as the contents:
    #!/bin/bash
    echo "1.1.24"
  4. In Finder, right-click on the file and select "Lock", so that it can't be modified by other scripts
  5. Run npx sst dev (without NO_BUN=true)
  6. 💰💰💰💰