AWS sam init error (sample code)

Asked 2 years ago, Updated 2 years ago, 34 views

Attempting to run sample code for AWS SAM.

Follow this page (AWS Home Page ) to implement sample code for the AWS SAM program.

environment
Windows 10
git:2.26.0

sam init encountered the following error:

Error: Please verify your location. The following types of location are supported:

* Github:gh:user/repo(or)https://github.com/user/repo(or)[email protected]:user/repo.git
          For Git repositories, you must use location of the root of the repository.

* Mercury: hg+ssh://[email protected]/repo

* Http(s): https://example.com/code.zip

* Local Path: /path/to/code.zip

The sam init was done in the root directory, but I am troubled that the above error occurred.

I look forward to hearing from you.
I'm in trouble because I can't do this work.
I would appreciate it if you could let me know if anyone knows.

windows aws

2022-09-29 20:24

1 Answers

sam init was done in the root directory

Windows security policies prohibit writing to the root directory.For example, even a normally started Notepad should fail to create (save) the file.

Please select another directory.


2022-09-29 20:24

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.