连接mongodb数据引用connect-mongo模块出错
发布于 10 天前 作者 liushaobo05 142 次浏览 来自 问答

/home/mypath/node_modules/connect-mongo/src/index.js:3 const Promise = require(‘bluebird’); ^^^^^ SyntaxError: Use of const in strict mode. at Module._compile (module.js:439:25) at Object.Module._extensions…js (module.js:474:10) at Module.load (module.js:356:32) at Function.Module._load (module.js:312:12) at Module.require (module.js:364:17) at require (module.js:380:17) at Object.<anonymous> (/home/mypath/node/program/myblog/node_modules/connect-mongo/index.js:1:80) at Module._compile (module.js:456:26) at Object.Module._extensions…js (module.js:474:10) at Module.load (module.js:356:32) 系统模块引用出错,求大神指导???

回到顶部