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

打包失败SyntaxError: Unexpected token: name #1947

Closed
0w0k opened this issue Nov 8, 2018 · 3 comments
Closed

打包失败SyntaxError: Unexpected token: name #1947

0w0k opened this issue Nov 8, 2018 · 3 comments
Labels

Comments

@0w0k
Copy link

0w0k commented Nov 8, 2018

Code to reproduce the issue: (请提供可复现的代码或者步骤)

npm run build

Expected behavior: (预期的正常效果)

打包成功

Actual behavior: (实际效果)

> atool-build --hash --devtool devtool

📦  1366/1366 build modules

 ERROR  Failed to compile with 1 errors                                                               18:12:21

 error

index-837d838ffd76f1e0428e.js from UglifyJs
SyntaxError: Unexpected token: name (length) [./~/[email protected]@punycode/punycode.js:55,0]

Versions of packages used: (哪个库的哪个版本出现的问题)

"atool-build": "^0.11.1"
@Qiantengactive
Copy link

We have the same problem here ,Have you solved it?

@stale
Copy link

stale bot commented Mar 24, 2019

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Mar 24, 2019
@sorrycc sorrycc closed this as completed Mar 25, 2019
@sorrycc
Copy link
Member

sorrycc commented Mar 25, 2019

参考 sorrycc/blog#83 解决。

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

No branches or pull requests

3 participants