首页 > Web开发 > 详细

nodejs vue SyntaxError:Block-scoped declarations (let,const,function,class) not yet supported

时间:2017-06-14 15:08:01      阅读:5780      评论:0      收藏:0      [点我收藏+]

下午在git上导入之前写的代码到本地环境,执行npm run dev报错。

技术分享

在我之前的环境中是没有问题的,这个错误信息也没看懂是什么原因引起的,

猜测可能是nodejs版本太低,于是重新下载了一个windows安装包,v6.11.0版本

重新运行脚本,成功启动。

nodejs vue SyntaxError:Block-scoped declarations (let,const,function,class) not yet supported

原文:http://www.cnblogs.com/guazi/p/7008719.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!