-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
area/initsam initsam initplatform/windowsstage/waiting-for-releaseFix has been merged to develop and is waiting for a releaseFix has been merged to develop and is waiting for a releasetype/bug
Description
Description:
Follwing the documentation here I ran sam init and it threw the error:
Error: Can't find application template quick-start-web - check valid values in interactive init.
Steps to reproduce:
sam init
SAM CLI now collects telemetry to better understand customer needs.
You can OPT OUT and disable telemetry collection by setting the
environment variable SAM_CLI_TELEMETRY=0 in your shell.
Thanks for your help!
Learn More: https://docs.aws.amazon.com/serverless-application-model/latest/developerguide/serverless-sam-telemetry.html
You can preselect a particular runtime or package type when using the `sam init` experience.
Call `sam init --help` to learn more.
Which template source would you like to use?
1 - AWS Quick Start Templates
2 - Custom Template Location
Choice: 1
Choose an AWS Quick Start application template
1 - Hello World Example
2 - Multi-step workflow
3 - Serverless API
4 - Scheduled task
5 - Standalone function
6 - Data processing
7 - Infrastructure event management
8 - Machine Learning
Template: 3
Which runtime would you like to use?
1 - dotnet6
2 - dotnetcore3.1
3 - nodejs16.x
4 - nodejs14.x
5 - nodejs12.x
6 - python3.9
7 - python3.8
Runtime: 4
Based on your selections, the only Package type available is Zip.
We will proceed to selecting the Package type as Zip.
Based on your selections, the only dependency manager available is npm.
We will proceed copying the template using npm.
Would you like to enable X-Ray tracing on the function(s) in your application? [y/N]: y
X-Ray will incur an additional cost. View https://aws.amazon.com/xray/pricing/ for more details
Project name [sam-app]:
Cloning from https://github.com/aws/aws-sam-cli-app-templates (process may take a moment)
2022-05-31 17:59:58,957 |
Cloning from https://github.com/aws/aws-sam-cli-app-templates (process may take a moment)
2022-05-31 18:00:02,025 | Clone error, attempting to use an old clone from a previous run
2022-05-31 18:00:02,025 | Template is not provided in context, skip adding project type metric
2022-05-31 18:00:02,026 | Sending Telemetry: {'metrics': [{'commandRun': {'requestId': '2a94d214-eb7b-410d-914e-f5582e523006', 'installationId': '53585486-101e-4a05-a49c-15c276a9dd16', 'sessionId': '98473969-3ad9-4888-8338-80c4d8a8c2d4', 'executionEnvironment': 'CLI', 'ci': False, 'pyversion': '3.8.8', 'samcliVersion': '1.51.0', 'awsProfileProvided': False, 'debugFlagProvided': True, 'region': '', 'commandName': 'sam init', 'duration': 19671, 'exitReason': 'InvalidInitTemplateError', 'exitCode': 1}}]}
2022-05-31 18:00:02,179 | Telemetry response: 200
Error: Can't find application template quick-start-web - check valid values in interactive init.
Additional environment details (Ex: Windows, Mac, Amazon Linux etc)
- OS: Windows x64
- If using SAM CLI,
sam --version: 1.51.0 - AWS region:
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
area/initsam initsam initplatform/windowsstage/waiting-for-releaseFix has been merged to develop and is waiting for a releaseFix has been merged to develop and is waiting for a releasetype/bug