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

Crash after following "rustup fails on installation" instructions #48

Open
allenap opened this issue Apr 9, 2022 · 4 comments
Open

Comments

@allenap
Copy link

allenap commented Apr 9, 2022

Problem

I followed the "rustup fails on installation" instructions the clicked continue in VS Code.

Logs

OS: darwin (21.4.0)
VSCode: 1.66.1
Error message

ps: stdin: not a terminal
tput: No value for $TERM and no -T specified
/usr/local/bin/bash: line 1: cargo: command not found

Full log: https://paste.rs/nho

@willcrichton
Copy link
Owner

@allenap what should be your default shell? Can you do echo $SHELL and tell me what the output is?

@allenap
Copy link
Author

allenap commented Apr 9, 2022

Can you do echo $SHELL and tell me what the output is?

$ echo $SHELL
/usr/local/bin/bash

@willcrichton
Copy link
Owner

Ah weird, and so in your normal bash shell, cargo resolves to a specific installation path right? Like what is the output of which cargo?

@allenap
Copy link
Author

allenap commented Apr 9, 2022

$ which cargo
/Users/gavin/.cargo/bin/cargo

I always launch VS Code using code . in my project directory so that it picks up environment. Perhaps, after a restart, it had not restored that environment by the time that Flowistry ran? In any case, after restarting VS Code, it seems to be okay: no more errors, and Flowistry commands are doing things.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants