更新时间:2023-11-18 17:31:04
问题是"npm install mongoose"没有安装正确版本的Mongoose.将package.json编辑为最新版本后,一切正常.
The problem was that "npm install mongoose" didn't install the proper version of Mongoose. Once I edited the package.json to the most recent version, everything worked fine.