mongoParserError:Invalid connection string 检查自己连接数据库的代码(mongoose.connect) 使用mongodb连接,协议用的是mongodb:写法应该如下 mongodb://localhoost:27017/集合名