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

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

手机验证码登录
找回密码返回
邮箱找回 手机找回
注册账号返回
其他登录方式
分享
  • 收藏
    X
    npm run build报错
    21
    0

    执行npm run build的时候报这个错,怎么解决

    G:\>npm run build
    
    > vue-admin-template@3.8.0 build G:\SVN\webTHHL\THHLOA\THHLWebUI
    > node build/build.js
    
    / building for production...Browserslist: caniuse-lite is outdated. Please run next command `npm update caniuse-lite browserslist`
    (node:13612) UnhandledPromiseRejectionWarning: BrowserslistError: Unknown browser kaios
        at checkName (G:\SVN\webTHHL\THHLOA\THHLWebUI\node_modules\caniuse-api\node_modules\browserslist\index.js:132:20)
        at Function.select (G:\SVN\webTHHL\THHLOA\THHLWebUI\node_modules\caniuse-api\node_modules\browserslist\index.js:830:18)
        at G:\SVN\webTHHL\THHLOA\THHLWebUI\node_modules\caniuse-api\node_modules\browserslist\index.js:176:33
        at Array.reduce (<anonymous>)
        at resolve (G:\SVN\webTHHL\THHLOA\THHLWebUI\node_modules\caniuse-api\node_modules\browserslist\index.js:158:18)
        at browserslist (G:\SVN\webTHHL\THHLOA\THHLWebUI\node_modules\caniuse-api\node_modules\browserslist\index.js:278:16)
        at isSupported (G:\SVN\webTHHL\THHLOA\THHLWebUI\node_modules\caniuse-api\dist\index.js:62:37)
        at G:\SVN\webTHHL\THHLOA\THHLWebUI\node_modules\cssnano\node_modules\postcss-reduce-initial\dist\index.js:40:60
        at initializePlugin (G:\SVN\webTHHL\THHLOA\THHLWebUI\node_modules\cssnano\dist\index.js:31:51)
    (node:13612) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). (rejection id: 2)
    (node:13612) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
    0
    打赏
    收藏
    点击回答
    您的回答被采纳后将获得:提问者悬赏的 11 元积分
        全部回答
    • 0
    更多回答
    扫一扫访问手机版
    • 回到顶部
    • 回到顶部