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] Unreal uses Houdini engine error: Houdini Engine Plugin Warning
- ROS Error: warning: “deprecated pixel format used“
- Hash_map is deprecated and will be REMOVED. Please use unordered_map.
- Yaml is installed, and the error YAMLLoadWarning is reported as soon as the code runs: calling yaml.load() without Loader=… is deprecated, as the default Loader is unsafe.
- [Solved] App.vue{ parser: “babylon“ } is deprecated; we no 95% emitting
- [Solved] Unreal Engine Error: Widget Blueprint could not be loaded because it derives from an invalid class
- [Solved] Springboot WARNING: All illegal access operations will be denied in a future release
- [Solved] error [email protected]: The engine “node” is incompatible with this module.
- The showdialog() method in thread/threading. Timer/task reported an error: “before ole can be called, the current thread must be set to single thread unit (STA) mode.”
- Git under Windows reports an error: warning: LF will be replaced by CRLF in ××××.××
- Oracle monitoring error tns-01189 [How to Solve]
- Appcompatactivity Error: WARNING: Local History will be also cleared.
- [Solved] CMake Error: The current CMakeCache.txt directory is different than xxx
- [Solved] AS Warning: String literal in setText can not be translated. Use Android resources instead.
- [Solved] MinIO Start Error: “WARNING: Console endpoint is listening on a dynamic port…”
- [Solved] MindSpore Error: task_fail_info or current_graph_ is nullptr
- [Solved] Error(22) WARNING: IPv4 forwarding is disabled. Networking will not work.
- The URL is timestamped to avoid caching problems when requesting the current path again
- IIS 404 The page cannot be displayed because an internal server error has occurred
- [Solved] PostgreSQL Error: ERROR: CURRENT TRANSACTION IS ABORTED, COMMANDS IGNORED UNTIL END OF TRANSA