sst / ion

SST v3
https://sst.dev
MIT License
1.99k stars 231 forks source link

No Logs written on Unexpected error (.sst/log/sst.log) #1195

Open iocron opened 5 days ago

iocron commented 5 days ago

The log .sst/log/sst.log is not being written / does not exist if a error occurs.

Error Message:

Unexpected error occurred. Please check the logs in .sst/log/sst.log
agucova commented 3 days ago

I'm having the same problem with a Bun repo.

The first dev and deploy worked like a charm, but then subsequent commands, either with the system-installed CLI or the Bun-installed CLI fail with the same error. Adding --verbose does not seem to help:

✗ bunx sst deploy --verbose
✕  Unexpected error occurred. Please check the logs in .sst/log/sst.log
agucova commented 3 days ago

Ah, in this case, per #1161, I tried adding --print-logs and found a missing provider. The lack of a log is still a bug though.