我也遇到这个问题,node.js版本是v12.16.1,具体错误信息: 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(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1) (node:1812) [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. 我尝试在package.json中增加 --hide-modules --unhandled-rejections=strict 也是不通过
Kbone使用Vue模板安装依赖后编译和打包小程序端错误?https://github.com/wechat-miniprogram/kbone-template-vue 执行命令:npm run build:mp 或 npm run mp [图片]
2020-02-25