我安装了mongodb 3.4和nodejs v0.12.2。当我试图从nodejs脚本var MongoClient = require('mongodb').MongoClient;
连接mongodb时
它显示
SyntaxError: Unexpected strict mode reserved word
at exports.runInThisContext (vm.js:73:16)
at Module._compile (module.js:443:25)
at Object.Module._extensions..js (module.js:478:10)
at Module.load (module.js:355:32)
at Function.Module._load (module.js:310:12)
at Module.require (module.js:365:17)
at require (module.js:384:17)
at Object.<anonymous> (C:\Users\vishnuprasath.r\nodej
odules\mongodb\node_modules\mongodb-core\index.js:19:15)
at Module._compile (module.js:460:26)
at Object.Module._extensions..js (module.js:478:10)
请帮我解决问题。提前谢谢。