Skip to content

[Bug]: Taro编译微信小程序出现出现 "usingComponents": { "comp": "../../comp" }的问题 #17941

@songjingyang

Description

@songjingyang

请先确认

  • 我已搜索并确定这个提交不是重复的

相关平台

  • 所有小程序
  • 微信小程序
  • 支付宝小程序
  • 百度小程序
  • 字节跳动小程序
  • QQ 轻应用
  • 京东小程序
  • 快应用平台(QuickApp)
  • Web 平台(H5)
  • 移动端(React-Native)
  • 鸿蒙(harmony)

小程序基础库版本

3.8.9

使用框架

React

问题描述

Image

Image

Image

复现链接

暂无

复现步骤

1、使用官方的taro最新版本
2、使用了tailwind
3、使用了redux
4、直接运行yarn dev:weapp
5.任意修改页面的一个文案会出现

Image

环境信息

👽 Taro v4.1.3


  Taro CLI 4.1.3 environment info:
    System:
      OS: macOS 15.4.1
      Shell: 5.9 - /bin/zsh
    Binaries:
      Node: 20.18.1 - ~/.nvm/versions/node/v20.18.1/bin/node
      Yarn: 1.22.22 - ~/.nvm/versions/node/v20.18.1/bin/yarn
      npm: 10.8.2 - ~/.nvm/versions/node/v20.18.1/bin/npm
    npmPackages:
      @tarojs/cli: 4.1.3 => 4.1.3 
      @tarojs/components: 4.1.3 => 4.1.3 
      @tarojs/helper: 4.1.3 => 4.1.3 
      @tarojs/plugin-framework-react: 4.1.3 => 4.1.3 
      @tarojs/plugin-platform-alipay: 4.1.3 => 4.1.3 
      @tarojs/plugin-platform-h5: 4.1.3 => 4.1.3 
      @tarojs/plugin-platform-harmony-hybrid: 4.1.3 => 4.1.3 
      @tarojs/plugin-platform-jd: 4.1.3 => 4.1.4-beta.7 
      @tarojs/plugin-platform-qq: 4.1.3 => 4.1.3 
      @tarojs/plugin-platform-swan: 4.1.3 => 4.1.3 
      @tarojs/plugin-platform-tt: 4.1.3 => 4.1.3 
      @tarojs/plugin-platform-weapp: 4.1.3 => 4.1.3 
      @tarojs/react: 4.1.3 => 4.1.3 
      @tarojs/runtime: 4.1.3 => 4.1.3 
      @tarojs/shared: 4.1.3 => 4.1.3 
      @tarojs/taro: 4.1.3 => 4.1.3 
      @tarojs/vite-runner: 4.1.3 => 4.1.3 
      babel-preset-taro: 4.1.3 => 4.1.3 
      eslint-config-taro: 4.1.3 => 4.1.3 
      react: ^18.0.0 => 18.3.1

贡献代码

  • 我愿意修复这个错误

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions