CodeGenieApp / CodeGenieApp/serverless-express

Could not generate the test app

Ouverte
#697 0 commentaires 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
JavaScript
Étoiles
5.3k
Forks
676
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

Hello everyone. I've stumbled with this tool and I wanted to test it out, but just following the tutorial it prompts an error:

```
{
errorMessage: "Cannot destructure property 'outputPresignedUrl' of 'generateAppResponse.data' as it is undefined."
}
⬆️📦 Generating App... !
» Error: Error while generating app.
» Code: GENERATE_APP_FAILED
```

I'm not sure if I did something wrong. I configured and tested aws cli, I signed on code genie cli and then used the command `npx @codegenie/cli generate --name "Todoodle" --description "A todo list app that lets users create lists and add items to the list. Items should have a title, description, be markable as completed, have a due date, and have an image."` of the tutorial (including the `mkdir todo` part).

I'm using windows. Maybe that's the reason? Of course I modified the command so it'd run in windows (removing the slashes and creating and moving to de "todo" directory step by step). I even tried using git bash but no luck.

aws cli version: `aws-cli/2.27.35 Python/3.13.3 Windows/11 exe/AMD64`
node version: `v22.14.0`
npm version: `10.9.2`

Guide de contribution

Ouvrir le guide de contribution

Piste de recherche

Start by reproducing the tutorial command `npx @codegenie/cli generate` on Windows with the reported Node.js, npm, and AWS CLI versions. Trace the generate command's response handling around `generateAppResponse.data` and determine why `outputPresignedUrl` is absent; done means the tutorial command generates the app without `GENERATE_APP_FAILED`.

Rédigé par le modèle d'indexation à partir du texte de l'issue.

Évaluation

Stack technique
aws, javascript, node.js
Domaine
cli, cloud
Type d'issue
Bug
Difficulté
4/5
Temps estimé
3-5 jours
Activité
À l'abandon
Clarté
À clarifier
Accessibilité débutants
25/100

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.