Boilerplate-mongomongoose- mongoose.connect

a crash loop? what is the problem here and how to fix it?
https://boilerplate-mongomongoose-1.zia73.repl.co
regards

Hin
you mean this one?

boilerplate-mongomongoose (1) - Replit
regards

thanks for this but after defining , still an error.

MissingSchemaError: Schema hasn’t been registered for model “undefined”.
Use mongoose.model(name, schema)
at Mongoose.model (/home/runner/boilerplate-mongomongoose-1/node_modules/mongoose/lib/index.js:526:13)

thanks these helped and worked.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.