You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(node:39096) UnhandledPromiseRejectionWarning: Error: 不存在编译平台 ui
at Kernel.runWithPlatform (/usr/local/lib/node_modules/@tarojs/cli/node_modules/@tarojs/service/dist/Kernel.js:218:19)
at Kernel. (/usr/local/lib/node_modules/@tarojs/cli/node_modules/@tarojs/service/dist/Kernel.js:261:36)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/@tarojs/cli/node_modules/@tarojs/service/dist/Kernel.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:39096) 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:39096) [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.
相关平台
微信小程序
复现仓库
git@github.com:NervJS/taro-ui-sample.git
小程序基础库: 2.13.2
使用框架: React
复现步骤
"build:ui": "cross-env TARO_BUILD_TYPE=ui taro build --ui"
npm run build:ui
期望结果
期望正常编译出第三方组件
实际结果
LEOLIWAN-MB0:taro-ui-sample-master wanli$ npm run build:ui
👽 Taro v3.0.17
(node:39096) UnhandledPromiseRejectionWarning: Error: 不存在编译平台 ui
at Kernel.runWithPlatform (/usr/local/lib/node_modules/@tarojs/cli/node_modules/@tarojs/service/dist/Kernel.js:218:19)
at Kernel. (/usr/local/lib/node_modules/@tarojs/cli/node_modules/@tarojs/service/dist/Kernel.js:261:36)
at Generator.next ()
at fulfilled (/usr/local/lib/node_modules/@tarojs/cli/node_modules/@tarojs/service/dist/Kernel.js:5:58)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:39096) 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:39096) [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.
环境信息
The text was updated successfully, but these errors were encountered: