Skip to content

Cannot overwrite Note model once compiled. #1

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
TianjieTLT opened this issue Jun 11, 2019 · 0 comments
Open

Cannot overwrite Note model once compiled. #1

TianjieTLT opened this issue Jun 11, 2019 · 0 comments

Comments

@TianjieTLT
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant