Skip to content

Cannot overwrite _transname_ model once compiled #109

Description

@haiderkhalil0000

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.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions