(node:71307) [DEP0079] DeprecationWarning

前端 未结 8 1698
故里飘歌
故里飘歌 2021-01-17 21:11

Try to update MongoDB document Getting Deprecation Warning as

(node:71307) [DEP0079] DeprecationWarning: Custom inspection function on Objects via

8条回答
  •  无人及你
    2021-01-17 21:23

    I want to add to this thread that it may also have to do with other dependencies.

    For instance, nothing I updated or set for NodeJS, MongoDB or Mongoose were the issue - however - my problem was that connect-mongodb-session had been updated and starting slinging the same error. The solution, in this case, was to simply rollback the version of connect-mongodb-session from version 2.3.0 to 2.2.0.

提交回复
热议问题