-
Notifications
You must be signed in to change notification settings - Fork 1.2k
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
SAM is installed but command cannot be found #2320
Comments
(Edit: added reproduced output) I managed to reproduce the same Observed result, will investigate
|
Further investigation is needed. Meanwhile, a workaround is to run |
You need to symlink it: brew link aws-sam-cli |
I had 1.0.0 installed and working fine for months, but after upgrading to the latest (1.10.0) ( |
Install, uninstall, then install again works for me (Ubuntu 20):
|
Issue persist with Homebrew 2.7.1 and brew install twice fixes the issue. During first install getting following logs. ==> Installing aws/tap/aws-sam-cli However, the path /home/ec2-user/.linuxbrew/Cellar/aws-sam-cli/1.15.0 did not exist. The actual path getting created was /home/ec2-user/.linuxbrew/Cellar/aws-sam-cli/1.15.0.reinstall After second run of brew install, /home/ec2-user/.linuxbrew/Cellar/aws-sam-cli/1.15.0 gets created and everything works as expected. |
Verified this issue is gone with following environments: If there are further questions, feel free to reopen this. |
|
i had the same problem with windows 11, i fixed it by below
|
Description
I've tried installing aws-sam-cli as recommended in the official documentation but it did not work. I've also tried several other methods including npm and pip, but none of them have made the
sam
command available for me.Steps to reproduce
I've ran the commands:
They finish successfully, but trying to run sam --version afterwards displays:
Observed result
Command 'sam' not found, but there are 18 similar ones.
Expected result
Should display sam's version instead.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: when I try reinstalling brew tells me it's the latest version... butsam --version
still does not work.The text was updated successfully, but these errors were encountered: