During start command got bug error
- Lingua principale
- C#
- Stelle
- 1.7k
- Fork
- 503
- Merge medio
- 1g 18h
- PR unite (30g)
- 21
Descrizione
### Describe the bug
PS D:\Delete_Now\LabNew1\MyLambda> dotnet lambda-test-tool start
Unhandled exception.
This is a bug.
Please copy the stack trace below and file a bug at https://github.com/aws/aws-lambda-dotnet.
At least one of the following parameters must be set: --lambda-emulator-port, --api-gateway-emulator-port, --api-gateway-emulator-https-port, --sqs-eventsource-config or --dynamodbstreams-eventsource-config
at Amazon.Lambda.TestTool.Commands.RunCommand.ExecuteAsync(CommandContext context, RunCommandSettings settings, CancellationTokenSource cancellationTokenSource) in C:\build\Tools\LambdaTestTool-v2\src\Amazon.Lambda.TestTool\Commands\RunCommand.cs:line 45
### Regression Issue
- [ ] Select this option if this issue appears to be a regression.
### Expected Behavior
Should work correctly or handled here
### Current Behavior
Getting exception
### Reproduction Steps
use command -dotnet lambda-test-tool start
### Possible Solution
_No response_
### Additional Information/Context
_No response_
### AWS .NET SDK and/or Package version used
NA
### Targeted .NET Platform
.NET 10
### Operating System and version
Windows 10
Guida per i contributori
Apri la guida per i contributori
Direzione di ricerca
Inizia da Amazon.Lambda.TestTool/Commands/RunCommand.cs alla riga 45 e riproduci su Windows l'invocazione `dotnet lambda-test-tool start` segnalata. Traccia il modo in cui il comando start convalida le opzioni dell'emulatore e determina il comportamento previsto per un'invocazione senza di esse. Il lavoro è completato quando il comando gestisce questo caso secondo tale comportamento invece di produrre un'eccezione non gestita.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Valutazione
- Stack tecnologico
- aws, csharp
- Ambito
- cli, devtools
- Tipo di issue
- Bug
- Difficoltà
- 3/5
- Tempo stimato
- 1-2 giorni
- Stato di attività
- Tranquilla
- Chiarezza
- Da chiarire
- Idoneità per principianti
- 45/100