We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
微信小程序
https://github.com/Jinchengawu/Bug-issues.git 小程序基础库: 2.17.3 使用框架: React
引入外部依赖:比如 qs , lodash 等; 无法正常使用 会 报npm依赖相关错误 ;
在Taro3.x版本可以正常引用npm包开发小程序插件
Taro3.x版本引用npm包会报错
👽 Taro v3.3.0-beta.0 Taro CLI 3.3.0-beta.0 environment info: System: OS: macOS 10.15.4 Shell: 3.2.57 - /bin/bash Binaries: Node: 12.13.1 - /usr/local/bin/node Yarn: 1.22.4 - /usr/local/bin/yarn npm: 6.12.1 - /usr/local/bin/npm npmPackages: @tarojs/components: 3.3.0-beta.0 => 3.3.0-beta.0 @tarojs/mini-runner: 3.3.0-beta.0 => 3.3.0-beta.0 @tarojs/react: 3.3.0-beta.0 => 3.3.0-beta.0 @tarojs/runtime: 3.3.0-beta.0 => 3.3.0-beta.0 @tarojs/taro: 3.3.0-beta.0 => 3.3.0-beta.0 @tarojs/webpack-runner: 3.3.0-beta.0 => 3.3.0-beta.0 babel-preset-taro: 3.3.0-beta.0 => 3.3.0-beta.0 eslint-config-taro: 3.3.0-beta.0 => 3.3.0-beta.0 react: ^17.0.0 => 17.0.2 npmGlobalPackages: typescript: 3.9.2
The text was updated successfully, but these errors were encountered:
qs 需要使用 6.9.4 或者更早版本 lodash 使用 lodash-es 代替
Sorry, something went wrong.
luckyadam
No branches or pull requests
相关平台
微信小程序
复现仓库
https://github.com/Jinchengawu/Bug-issues.git
小程序基础库: 2.17.3
使用框架: React
复现步骤
引入外部依赖:比如 qs , lodash 等;
无法正常使用 会 报npm依赖相关错误 ;
期望结果
在Taro3.x版本可以正常引用npm包开发小程序插件
实际结果
Taro3.x版本引用npm包会报错
环境信息
The text was updated successfully, but these errors were encountered: