7***@qq.com
7***@qq.com
  • 发布:2022-09-20 13:43
  • 更新:2022-09-25 00:41
  • 阅读:944

npx @dcloudio/uvm 3.6.3.20220919-alpha 报错

分类:HBuilderX

升级时报错

2022-09-20 13:43 负责人:DCloud_UNI_GSQ 分享
已邀请:
DCloud_UNI_GSQ

DCloud_UNI_GSQ

npx @dcloudio/uvm alpha

  • 7***@qq.com (作者)

    我是先用的 npx @dcloudio/uvm alpha,报这错误,然后用指定版本的,也报错

    2022-09-20 15:40

  • DCloud_UNI_GSQ

    回复 7***@qq.com: 已处理,请重新运行 npx @dcloudio/uvm@latest

    2022-09-20 17:46

  • 7***@qq.com (作者)

    回复 DCloud_UNI_GSQ: 运行 npx @dcloudio/uvm@latest 后,报如下错误:

    (node:52448) UnhandledPromiseRejectionWarning: FetchError: request to https://registry.npmmirror.com/@dcloudio/vite-plugin-uni failed, reason: certificate has expired

    at ClientRequest.<anonymous> (D:\nodereps\npm-cache_npx\52448\node_modules\@dcloudio\uvm\node_modules\node-fetch\lib\index.js:1491:11)

    at ClientRequest.emit (events.js:400:28)

    at TLSSocket.socketErrorListener (_http_client.js:475:9)

    at TLSSocket.emit (events.js:400:28)

    at emitErrorNT (internal/streams/destroy.js:106:8)

    at emitErrorCloseNT (internal/streams/destroy.js:74:3)

    at processTicksAndRejections (internal/process/task_queues.js:82:21)

    (Use node --trace-warnings ... to show where the warning was created)

    (node:52448) 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 unhandl

    ed promise rejection, use the CLI flag --unhandled-rejections=strict (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)

    (node:52448) [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.

    2022-09-21 08:23

  • DCloud_UNI_GSQ

    回复 7***@qq.com: 提示的意思是网络错误,重试一下。

    2022-09-21 11:09

  • 7***@qq.com (作者)

    回复 DCloud_UNI_GSQ: 好的,可以了,多谢!

    2022-09-21 15:03

  • 高级CV

    回复 DCloud_UNI_GSQ: 我运行之后报这个错是什么问题

    $ npx @dcloudio/uvm@latest

    npx: 64 安装成功,用时 18.213 秒

    /Users/inory/.npm/_npx/67090/lib/node_modules/@dcloudio/uvm/lib/package.js:22

    throw new Error('Invalid version: ' + version)

    ^


    Error: Invalid version: 3.0.0-alpha-3060420220922001

    at getVue3 (/Users/inory/.npm/_npx/67090/lib/node_modules/@dcloudio/uvm/lib/package.js:22:11)

    at processTicksAndRejections (node:internal/process/task_queues:96:5)

    at async get (/Users/inory/.npm/_npx/67090/lib/node_modules/@dcloudio/uvm/lib/package.js:43:12)

    at async start (/Users/inory/.npm/_npx/67090/lib/node_modules/@dcloudio/uvm/bin/index.js:17:16)

    2022-09-25 00:42

高级CV

高级CV

我的报这个错是什么问题

要回复问题请先登录注册