Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

使用forwardRef报The "path" argument must be of type string 错误 #8343

Open
xchunzhao opened this issue Dec 22, 2020 · 0 comments
Open
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x

Comments

@xchunzhao
Copy link

相关平台

微信小程序

复现仓库

https://github.com/xchunzhao/taro-forwardRef-error
小程序基础库: 2.10.0
使用框架: React

复现步骤

yarn dev:weapp

期望结果

期待编译成功

实际结果

编译失败。
The "path" argument must be of type string. Received type object

环境信息

Taro CLI 2.2.0 environment info:
    System:
      OS: macOS 10.15.6
      Shell: 5.7.1 - /bin/zsh
    Binaries:
      Node: 12.14.0 - /usr/local/bin/node
      Yarn: 1.12.3 - /usr/local/bin/yarn
      npm: 6.4.1 - /usr/local/bin/npm
    npmPackages:
      @tarojs/cli: 2.2.0 => 2.2.0
      @tarojs/components: 2.2.0 => 2.2.0
      @tarojs/components-qa: 2.2.0 => 2.2.0
      @tarojs/mini-runner: 2.2.0 => 2.2.0
      @tarojs/router: 2.2.0 => 2.2.0
      @tarojs/taro: 2.2.0 => 2.2.0
      @tarojs/taro-weapp: 2.2.0 => 2.2.0
      @tarojs/webpack-runner: 2.2.0 => 2.2.0
      eslint-config-taro: 2.2.0 => 2.2.0
      eslint-plugin-taro: 2.2.0 => 2.2.0
      nerv-devtools: ^1.5.5 => 1.5.7
      nervjs: ^1.5.5 => 1.5.7
    npmGlobalPackages:
      typescript: 3.5.1
@taro-bot2 taro-bot2 bot added F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x labels Dec 22, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
F-react Framework - React T-weapp Target - 编译到微信小程序 V-2 Version - 2.x
Projects
None yet
Development

No branches or pull requests

1 participant