使用命令pnpm dev:h5运行,再用edge浏览器预览项目
- 发布:2023-11-07 12:12
- 更新:2023-12-28 15:11
- 阅读:452
【报Bug】vue3的cli项目更新到3.96,在H5报错Cannot read properties of undefined (reading 'isReady')
产品分类: uniapp/H5
PC开发环境操作系统: Windows
PC开发环境操作系统版本号: win11
浏览器平台: Edge
浏览器版本: 最新119.0.2
项目创建方式: CLI
CLI版本号: 3.96
操作步骤:
预期结果:
没有报错,像3.95版本一样正常
没有报错,像3.95版本一样正常
实际结果:
报错Cannot read properties of undefined (reading 'isReady')
报错Cannot read properties of undefined (reading 'isReady')
bug描述:
vue3的cli项目更新到3.96,运行起来命令行上没有报错,在浏览器上打开H5,控制台报错Cannot read properties of undefined (reading 'isReady')。
如果把项目版本回退到3.95再运行则没有问题,由此可知是因为升级版本导致的,望官方修复bug.
通过此提示:uni-app 有新版本发布,请执行 npx @dcloudio/uvm
更新。执行的依赖更新