账号密码登录
微信安全登录
微信扫描二维码登录

登录后绑定QQ、微信即可实现信息互通

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    vue项目webpack打包失败,npm ERR! code ELIFECYCLE
    82
    0

    运行 npm run build 打包出错。各位大神怎么解决的?
    错误代码:

    hunks                    Chunk Names
                  addons/wx_carpool/staticone/js/app.ef602a3c240aa34f7b1f.js    1.87 MB       0  [emitted]  [big]  app
             addons/wx_carpool/staticone/js/manifest.306cea682bd69ba592f2.js    1.48 kB       1  [emitted]         manifest
    addons/wx_carpool/staticone/css/app.7272faa00a213638c970377dad9dc5d2.css    2.35 MB       0  [emitted]  [big]  app
              addons/wx_carpool/staticone/js/app.ef602a3c240aa34f7b1f.js.map    2.45 MB       0  [emitted]         app
         addons/wx_carpool/staticone/js/manifest.306cea682bd69ba592f2.js.map    14.3 kB       1  [emitted]         manifest
                                                                  index.html  516 bytes          [emitted]         
                               addons/wx_carpool/staticone/icon/iconfont.css    13.4 kB          [emitted]         
                              addons/wx_carpool/staticone/icon/iconfont.woff    8.33 kB          [emitted]         
    
    ERROR in addons/wx_carpool/staticone/js/app.ef602a3c240aa34f7b1f.js from UglifyJs
    Unexpected token: punc (() [addons/wx_carpool/staticone/js/app.ef602a3c240aa34f7b1f.js:1139,8]
    
      Build failed with errors.
    
    npm ERR! code ELIFECYCLE
    npm ERR! errno 1
    npm ERR! mbb-vue@1.0.0 build: `node build/build.js`
    npm ERR! Exit status 1
    npm ERR! 
    npm ERR! Failed at the mbb-vue@1.0.0 build script.
    npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
    
    npm ERR! A complete log of this run can be found in:
    npm ERR!     /home/../.npm/_logs/2017-10-28T03_08_45_883Z-debug.log
    0
    打赏
    收藏
    点击回答
        全部回答
    • 共 0 条
    • 我想静静 普通会员 1楼
      502 Bad Gateway

      502 Bad Gateway


      nginx
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部