Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
alecthomas opened this issue Jun 21, 2024 · 4 comments
Closed
Assignees
Labels
bug Something isn't working

Comments

@alecthomas
Copy link
Collaborator

🐚 ~/demo $ ftl new go . invoicing
info: 
ftl: error: exit status 128
@ftl-robot ftl-robot mentioned this issue Jun 21, 2024
@alecthomas alecthomas added the bug Something isn't working label Jun 21, 2024
@safeer
Copy link
Contributor

safeer commented Jun 21, 2024

Oh weird, I'm seeing this:

Screenshot 2024-06-21 at 2 50 38 PM

@alecthomas
Copy link
Collaborator Author

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
Copy link
Collaborator Author

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

@safeer
Copy link
Contributor

safeer commented Jul 15, 2024

Still can't repro this, so closing it out

@safeer safeer closed this as completed Jul 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants