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

Cannot overwrite `Note` model once compiled.

Đang mở
#1 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
JavaScript
Star
61
Fork
19
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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!!

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.