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.
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.
© 2024 OneMinuteCode. All rights reserved.