Closed fedor-pavlov closed 4 months ago
It looks like the error happens in the post_gen_project
script which is a part of the https://github.com/aws-samples/cookiecutter-aws-sam-python repository.
Moving this to: https://github.com/aws-samples/cookiecutter-aws-sam-python/issues/47
As a workaround, use sam init
without --location
option.
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:
A
sam init
fails to bootstrap a simple python hello-world template on Windows platform. You may find this command example insam init --help
and also at https://github.com/aws-samples/cookiecutter-aws-sam-python:sam init --location gh:aws-samples/cookiecutter-aws-sam-python
this command produces the following error:
Steps to reproduce:
cmd
(Win+R, cmd)sam init --location gh:aws-samples/cookiecutter-aws-sam-python
sam-demo
Observed result:
Expected result:
A sample template should be deployed to
sam-demo
folder.Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
Platform: Windows 11 Enterprise, 22H2, build 22621.3447
sam --version
: SAM CLI, version 1.116.0Add --debug flag to command you are running