adnanrahic / adnanrahic/building-a-serverless-rest-api-with-nodejs

Cannot overwrite `Note` model once compiled.

Aperta
#1 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
JavaScript
Stelle
61
Fork
19
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

I just copy your code but configure with my local mongoDB to test such APIs, those RESTful API are only feasible once when I run "sls offline" to deploy them natively, then when I use postman to call the same method for twice, it failed and here is the Error:
'OverwriteModelError: Cannot overwrite `Note` model once compiled.'
Could you help me out? Thanks!!

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.