Closed ElrohirGT closed 4 months ago
Hey @ElrohirGT, thanks for creating the issue. I wasn't able to reproduce the issue, however, it seems like the package manager you are using is giving you an outdated version of SAM CLI. We don't own or distribute through Nix so we have no control over it. I recommend using our native installers as outlined in our documentation. Let us know if this helps!
You're right! Thanks a bunch it works now that I use the latest version!
The problem for someone else using nix too was that in my flake I was referring to:
inputs = {
nixpkgs.url = "github:nixos/nixpkgs?ref=nixos-23.11";
...
When I should be referring to:
inputs = {
nixpkgs.url = "github:nixos/nixpkgs";
To get the latest version of everything. Thanks for the help @mildaniel and sorry for the inconvenience!
Comments on closed issues are hard for our team to see. If you need more assistance, please either tag a team member or open a new issue that references this one. If you wish to keep having a conversation with other community members under this issue feel free to do so.
Description:
Hi! First time SAM user here! I tried to install SAM using the package from Nix. I tried running the command
sam init
.I tried searching for a similar issue but couldn't find one for the
sam init
command, only forsam deploy
.Steps to reproduce:
Install sam from nix. Here's a basic flake to do so:
Observed result:
Expected result:
I expected the project to be initialized correctly without errors
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
sam --version
: 1.90Add --debug flag to command you are running