Error UnhandledPromiseRejectionWarning when i try to launch

后端 未结 0 589
醉梦人生
醉梦人生 2021-01-17 02:30

My code:

const fastify = require(\'fastify\');
const mongoose = require(\'mongoose\');

const app = fastify();

try {
    mongoose.connect(\'mongodb://localho         


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