uniapp运行APP报错Cannot start service: Host version “0.16.17“ does not match binary version “0.15.18“

uniapp运行APP报错Cannot start service: Host version “0.16.17” does not match binary version “0.15.18”

经排查,原来用官方的npx @dcloudio/uvm alpha命令把vite版本升到4了,alpha版本是对应HBuilder的alpha版本,解决办法为使用命令npx @dcloudio/uvm把vite降为3.x可以运行。

你可能感兴趣的:(笔记,uni-app)