eggjs error: Warning: Current Server Discovery and Monitoring engine is deprecated, and will be rem…
Errors are reported as follows:
Warning: Current Server Discovery and Monitoring engine is deprecated, and will be removed in a future version. To use the new Server Discover and Monitoring engine, pass option { useUnifiedTopology: true } to the MongoClient constructor
Cause of error reporting:
Mongoose the old parser is going to be discarded and the new parser should be used
Solution:
Add a configuration in the directory config/config.default.js:
config.mongoose = {
url: 'mongodb://127.0.0.1:27017/userLog',
options: {
useUnifiedTopology:true
},
};
Read More:
- [Solved] Fabric_sdk_go:QueryBlockConfig failed: QueryBlockConfig failed: target(s) required
- Git pull and Git pull origin master Warning: Pulling without specifying how to reconcile divergent branches
- Kubernetes Error: Error in configuration: unable to read client-cert* unable to read client-key*
- TypeError: db.collection is not a function
- Go build package error: TARGET_OS_MAC & IOMasterPort
- [Solved] Error creating bean with name ‘braveHttpServerHandler‘ defined in class path
- [Solved] Eureka related services Start Error: cannot execute request on any known server
- [Solved] mongoose Error: Error: `useCreateIndex` is an invalid option.
- Template cannot be rendered due to the joint query of populate in mongoose: syntax error: unexpected token r in JSON at position 0
- [Solved] Elasticsearch-7.2.1 startup error: ERROR: [1] bootstrap checks failed
- [Solved] Docker Startup Error: panic: runtime error: invalid memory address or nil pointer dereference
- Database App.config configurate file Error & Solution
- Turn off eslint checksum and resolve formatting conflicts
- [Solved] Mac starts redis error: there is no specified conf file
- [Solved] Git Clone Error: error:1407742E:SSL routines:SSL23_GET_SERVER_HELLO:tlsv1 alert protocol version
- [Solved] Triton-inference-server Start Error: Internal – failed to load all models
- Vagrant up Error: Warning: Authentication failure. Retrying…[How to Solve]
- Git push Failed to connect to localhost port 1080 [How to Solve]
- Error using tensorflow GPU: could not create cudnn handle: cudnn_STATUS_NOT_INITIALIZED
- Kafka error: ERROR There was an error in one of the threads during logs loading: java.lang.NumberFormatException: For input string: “derby” (kafka.log.LogManager)