The error message suggests that the command "$eval" is not recognized by the MongoDB server running on localhost at port 27017.

The "$eval" command is used to execute JavaScript code on the MongoDB server. It seems that the server version you are using does not support this command or it has been disabled.

You can check the MongoDB server version using the following command:

db.version()

If the version is older than 2.4, it may not support the "$eval" command. In that case, you can try upgrading your MongoDB server to a newer version that supports the command.

If you are already using a compatible version, it's possible that the server configuration has disabled the "$eval" command. In that case, you may need to check the server configuration and enable the command if necessary

no such command $eval on server localhost27017 The full response is ok 00 errmsg no such command $eval code 59 codeName CommandNotFound

原文地址: https://www.cveoy.top/t/topic/hB4W 著作权归作者所有。请勿转载和采集!

免费AI点我,无需注册和登录