己解决,使用 yarn 安装依赖就好,( 运行npm i -g yarn 先全局安装yarn工具),然后再使用 npx @dcloudio/uvm 更新到最新版的uniapp(记得还是选yarn包) yarn npx @dcloudio/uvm