草庐IT

simplehacker

全部标签

node.js - Node+MongoDB - 错误 : process. nextTick(function() { throw err; });

您好,当我运行我的app.js时出现以下错误。无法解决问题。谁能帮帮我/Applications/MAMP/htdocs/simplehacker/simplehacker-us/node_modules/mongodb/lib/utils.js:98process.nextTick(function(){throwerr;});^WriteError({"code":11000,"index":0,"errmsg":"E11000duplicatekeyerrorindex:instance.instancesmodels.$PublicDnsName_1dupkey:{:\"\"}