Skip to content
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

Cannot overwrite _transname_ model once compiled #109

Open
haiderkhalil0000 opened this issue Nov 5, 2022 · 1 comment
Open

Cannot overwrite _transname_ model once compiled #109

haiderkhalil0000 opened this issue Nov 5, 2022 · 1 comment
Assignees

Comments

@haiderkhalil0000
Copy link

I have installed node_modules and when I try to run backend server.js using command "npm run dev" it shows me the error like this

awesome-ecom/server/node_modules/mongoose/lib/index.js:522
throw new _mongoose.Error.OverwriteModelError(name);
^
MongooseError [OverwriteModelError]: Cannot overwrite _transname_ model once compiled.

@fk00750
Copy link

fk00750 commented Dec 20, 2022

Hey @ujjalacharya can you assign me this issue

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

2 participants