-
-
Notifications
You must be signed in to change notification settings - Fork 8.2k
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
ant-pro 打包失败 #1082
Comments
正常写的业务逻辑,未作配置, npm run build失败 |
@walkinMrwang 我发现我的报错信息跟你一模一样 |
我的报这样的错误 E:\barcoder-web>npm run build
Creating an optimized production build... index.js from UglifyJs npm ERR! code ELIFECYCLE npm ERR! A complete log of this run can be found in: 详细的log 0 info it worked if it ends with ok |
调试了半天,发现是自己的锅。 去掉这个就好了,不知道能否解决你们的问题。 @LKCheng @walkinMrwang |
厉害了,大兄弟。我用了比较笨的办法,之前能打包成功的,回退版本一直在对比文件,也是发现了在多出了 import { ARRAY_TYPE } from 'gl-matrix/src/gl-matrix/common'; 导致打包失败的 |
对的也我同样解决了,我是挨个注释文件,发现有个这个文件 |
如果报错一样直接全文搜索 import { ARRAY_TYPE } from 'gl-matrix/src/gl-matrix/common'; ? |
引用的包不规范的原因。。。 |
@chenshuai2144 那这个包需要按照什么样的规范来做呢, 这个第三方库是纯es6语法的 |
同样的报错,由于引入了这个: |
The text was updated successfully, but these errors were encountered: