0
我收到此错误时,在0.12的NodeJS发行的CentOS尝试使用模块nodemailer 6.9升级的CentOS的NodeJS 6.9
/root/node-v0.10.30/node_modules/live_webcam/node_modules/nodemailer/lib/nodemailer.js: 3 const Mailer = require('./ mailer'); ^^^^^ SyntaxError:在严格模式下使用const。
我尝试更新的,但的NodeJS百胜报告404包
如何固定的呢?
谢谢你的任何高级!
嗨,非常感谢你! instaling后的NodeJS: 根@ sdv7 [/opt/node-6.7.0/node_modules/live_webcam]#节点-v v6.7.0 我拷入我aplication到/opt/node-6.7.0/node_modules/,但在运行节点server.js时收到此错误: root @ sdv7 [/opt/node-6.7.0/node_modules/live_webcam]# node server.js module.js:583 return process.dlopen(module, path._makeLong(文件名)); ^ 错误:模块版本不匹配。预计48,得到14. 对不起,我的知识不是先进的nodejs,我需要在代码中做一些改变? 再次感谢您! –
好吧,我通过bryptjs修复了这个更改模块的bcrypt。 NodeJs现在为我工作! 谢谢! –