0

OverwriteModelError: Cannot overwrite `user` model once compiled.
at Mongoose.model (C:\Users\HP\Desktop\amazona\backend\node_modules\mongoose\lib\index.js:554:13)
at file:///C:/Users/HP/Desktop/amazona/backend/models/userModel.js:15:23

Basir Answered question October 11, 2022