r***@chn-das.com
r***@chn-das.com
  • 发布:2023-08-17 17:57
  • 更新:2023-08-17 17:57
  • 阅读:783

【报Bug】更新npx @dcloudio/uvm 报错

分类:uni-app

产品分类: uniapp/App

PC开发环境操作系统: Windows

PC开发环境操作系统版本号: win10

HBuilderX版本号: 3.8.12

手机系统: Android

手机系统版本号: Android 14

手机厂商: 华为

手机机型: 小米

页面类型: vue

vue版本: vue2

打包方式: 云端

项目创建方式: CLI

CLI版本号: 3.6.7

操作步骤:

更新报错

预期结果:

更新报错

实际结果:

更新报错

bug描述:

更新npx @dcloudio/uvm报错了
终端执行:npx @dcloudio/uvm
报错如下:
npx: installed 64 in 13.089s
(node:2804) UnhandledPromiseRejectionWarning: Error: Not find version: 3.8.12.20230817
at find (C:\Users\zhuxian\AppData\Roaming\npm-cache_npx\2804\node_modules\@dcloudio\uvm\lib\version.js:100:11)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async start (C:\Users\zhuxian\AppData\Roaming\npm-cache_npx\2804\node_modules\@dcloudio\uvm\bin\index.js:16:19)
(Use node --trace-warnings ... to show where the warning was created)
(node:2804) 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:2804) [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.

2023-08-17 17:57 负责人:无 分享
已邀请:

要回复问题请先登录注册