taro icon indicating copy to clipboard operation
taro copied to clipboard

windows 环境下 path 拼接未使用 path.join 导致返回的路径异常

Open VaynePeng opened this issue 1 year ago • 0 comments

相关平台

微信小程序

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

复现步骤

在 3.6.16 之后的版本都有这个问题,我已经在 https://github.com/NervJS/taro/pull/15894 这个 pr 提交了修复

期望结果

正常编译

实际结果

编译失败,路径重复拼接

环境信息

👽 Taro v3.6.32


  Taro CLI 3.6.32 environment info:
    System:
      OS: Windows 10 10.0.19044
    Binaries:
      Node: 20.14.0 - ~\AppData\Local\fnm_multishells\17392_1718536532880\node.EXE
      npm: 10.7.0 - ~\AppData\Local\fnm_multishells\17392_1718536532880\npm.CMD
    npmPackages:
      @tarojs/cli: 3.6.32 => 3.6.32
      @tarojs/components: 3.6.32 => 3.6.32
      @tarojs/helper: 3.6.32 => 3.6.32
      @tarojs/plugin-framework-vue3: 3.6.32 => 3.6.32
      @tarojs/plugin-platform-alipay: 3.6.32 => 3.6.32
      @tarojs/plugin-platform-h5: 3.6.32 => 3.6.32
      @tarojs/plugin-platform-jd: 3.6.32 => 3.6.32
      @tarojs/plugin-platform-qq: 3.6.32 => 3.6.32
      @tarojs/plugin-platform-swan: 3.6.32 => 3.6.32
      @tarojs/plugin-platform-tt: 3.6.32 => 3.6.32
      @tarojs/plugin-platform-weapp: 3.6.32 => 3.6.32
      @tarojs/runtime: 3.6.32 => 3.6.32
      @tarojs/shared: 3.6.32 => 3.6.32
      @tarojs/taro: 3.6.32 => 3.6.32
      @tarojs/taro-loader: 3.6.32 => 3.6.32
      @tarojs/webpack5-runner: 3.6.32 => 3.6.32
      babel-preset-taro: 3.6.32 => 3.6.32
      eslint-config-taro: 3.6.32 => 3.6.32

VaynePeng avatar Jun 17 '24 17:06 VaynePeng