@tarojs/plugin-framework-vue3 4.0.4 版本 与vite有冲突

wmvff8tz  于 3个月前  发布在  其他
关注(0)|答案(1)|浏览(58)

相关平台

微信小程序

小程序基础库: 3.5.3
使用框架: Vue 3

复现步骤

执行 npm show @tarojs/plugin-framework-vue3@4.0.4 peerDependencies 命令会显示出该包依赖 '@vitejs/plugin-vue': '^5',vite: '^4' ,但是执行 npm show @vitejs/plugin-vue@5 peerDependencies 可以发现该包5版本所有都依赖vite 5版本,有冲突出现

期望结果

@tarojs/plugin-framework-vue3@4.0.4支持vite5

实际结果

出现冲突,包依赖无法正确安装

环境信息

👽 Taro v4.0.4

  Taro CLI 4.0.4 environment info:
    System:
      OS: Windows 11 10.0.22631
    Binaries:
      Node: 20.15.1 - C:\Program Files\nodejs\node.EXE
      npm: 10.7.0 - C:\Program Files\nodejs\npm.CMD
    npmPackages:
      @tarojs/cli: 4.0.4 => 4.0.4
      @tarojs/components: 4.0.4 => 4.0.4
      @tarojs/helper: 4.0.4 => 4.0.4
      @tarojs/plugin-framework-vue3: 4.0.4 => 4.0.4
      @tarojs/plugin-html: ^4.0.4 => 4.0.4
      @tarojs/plugin-platform-alipay: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-h5: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-harmony-hybrid: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-jd: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-qq: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-swan: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-tt: 4.0.4 => 4.0.4
      @tarojs/plugin-platform-weapp: 4.0.4 => 4.0.4
      @tarojs/runtime: 4.0.4 => 4.0.4
      @tarojs/shared: 4.0.4 => 4.0.4
      @tarojs/taro: 4.0.4 => 4.0.4
      @tarojs/vite-runner: 4.0.4 => 4.0.4
      babel-preset-taro: 4.0.4 => 4.0.4
      eslint-config-taro: 4.0.4 => 4.0.4

相关问题