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
支付宝小程序
小程序基础库: 1 使用框架: React
微信小程序编译成功 支付宝小程序编译失败。错误提示The "path" argument must be of type string. Received type object
运行正常
编译失败
Taro CLI 3.0.10 environment info: System: OS: macOS 10.15 Shell: 3.2.57 - /bin/bash Binaries: Node: 10.13.0 - /usr/local/bin/node Yarn: 1.15.2 - /usr/local/bin/yarn npm: 6.9.0 - /usr/local/bin/npm npmPackages: @tarojs/cli: 2.2.15 => 2.2.15 @tarojs/components: 2.2.15 => 2.2.15 @tarojs/mini-runner: 2.2.15 => 2.2.15 @tarojs/router: 2.2.15 => 2.2.15 @tarojs/taro: 2.2.15 => 2.2.15 @tarojs/taro-h5: 2.2.15 => 2.2.15 @tarojs/webpack-runner: 2.2.15 => 2.2.15 eslint-config-taro: 2.2.15 => 2.2.15 eslint-plugin-taro: 2.2.15 => 2.2.15 nerv-devtools: ^1.5.6 => 1.5.6 nervjs: ^1.5.6 => 1.5.6 taro-ui: 2.3.4 => 2.3.4
The text was updated successfully, but these errors were encountered:
同问,我的是字节小程序,编译失败
Sorry, something went wrong.
我的定位到问题了,我的项目使用了 物料市场的生成朋友圈海报插件,在非微信小程序下编译会报错; import { CanvasDrawer } from 'taro-plugin-canvas';
我也找到问题的原因了 用了parser插件 没有引用支付宝的
哦豁 刚刚 npm run dev:tt 也是同样报错,看来得排查下哪些包或者插件没有做好env的限制
No branches or pull requests
相关平台
支付宝小程序
小程序基础库: 1
使用框架: React
复现步骤
微信小程序编译成功 支付宝小程序编译失败。错误提示The "path" argument must be of type string. Received type object
期望结果
运行正常
实际结果
编译失败
环境信息
The text was updated successfully, but these errors were encountered: