i wrote a code to connect mongodb to my project and I'm unable to run it and the message in the terminal says app crashed

前端 未结 0 1104
伪装坚强ぢ
伪装坚强ぢ 2020-11-27 05:13

here is the code that i wrote in db.js

const mongoose = require(\'mongoose\')

const connectDB = async () => {
    try {
        const conn = await mongoos         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题