Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

在run build时报错了 #7

Closed
yellowSTA opened this issue Sep 29, 2017 · 3 comments
Closed

在run build时报错了 #7

yellowSTA opened this issue Sep 29, 2017 · 3 comments

Comments

@yellowSTA
Copy link

ERROR in static/js/1.d0154e062764d39fded8.js from UglifyJs
Unexpected token name «i», expected punc «;» [./~/vue-verify-plugin/src/verify.js:196,0][static/js/1.d0154e062764d39fded8.js:21118,21]

不知道这是个怎么回事

@liuyinglong
Copy link
Owner

您好,在我这里没有重现,您重新安装一下依赖再试一下呢?

@yellowSTA
Copy link
Author

在verify.js大概196行的位置,在一个for循环中使用了一个es6的let,不知道是babel没有配置好还是别的原因,导致运行时错误;将let改为var就能正常运行

@liuyinglong
Copy link
Owner

此问题已解决 谢谢您

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants