TBD54566975 / ftl

FTL - Towards a 𝝺-calculus for large-scale systems
Apache License 2.0
18 stars 6 forks source link

`ftl new` fails with an inscrutable error if the Go toolchain is not available #1847

Open alecthomas opened 2 weeks ago

alecthomas commented 2 weeks ago
🐚 ~/demo $ ftl new go . invoicing
info: 
ftl: error: exit status 128
safeer commented 2 weeks ago

Oh weird, I'm seeing this:

Screenshot 2024-06-21 at 2 50 38 PM
alecthomas commented 2 weeks ago

It may have been a different cause? Regardless, the output for whatever command is being lost and I think you want to use our exec.Cmd.RunBuffered() function wherever this is occurring.

alecthomas commented 2 weeks ago

Ah I see you are using it already...not sure then. I also couldn't reproduce it just now :\