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
微信小程序
小程序基础库: 3.7.7 使用框架: React
使用 zustand 构建 store 后正常页面内引入,使用 dev:weapp 打包出错:taro.react_production_min.create is not a function,但是使用 build:weapp 则不会出错,zustand 版本5.0.0 以上可复现错误,旧版本正常
正常使用 zustand
报错 taro.react_production_min.create is not a function
Taro CLI 4.0.9 environment info: System: OS: macOS 12.7 Shell: 5.8.1 - /bin/zsh Binaries: Node: 20.18.0 - ~/.nvm/versions/node/v20.18.0/bin/node npm: 10.8.2 - ~/.nvm/versions/node/v20.18.0/bin/npm npmPackages: @tarojs/cli: 4.0.9 => 4.0.9 @tarojs/components: 4.0.9 => 4.0.9 @tarojs/helper: 4.0.9 => 4.0.9 @tarojs/plugin-framework-react: 4.0.9 => 4.0.9 @tarojs/plugin-platform-alipay: 4.0.9 => 4.0.9 @tarojs/plugin-platform-h5: 4.0.9 => 4.0.9 @tarojs/plugin-platform-harmony-hybrid: 4.0.9 => 4.0.9 @tarojs/plugin-platform-jd: 4.0.9 => 4.0.9 @tarojs/plugin-platform-qq: 4.0.9 => 4.0.9 @tarojs/plugin-platform-swan: 4.0.9 => 4.0.9 @tarojs/plugin-platform-tt: 4.0.9 => 4.0.9 @tarojs/plugin-platform-weapp: 4.0.9 => 4.0.9 @tarojs/react: 4.0.9 => 4.0.9 @tarojs/runtime: 4.0.9 => 4.0.9 @tarojs/shared: 4.0.9 => 4.0.9 @tarojs/taro: 4.0.9 => 4.0.9 @tarojs/vite-runner: 4.0.9 => 4.0.9 babel-preset-taro: 4.0.9 => 4.0.9 eslint-config-taro: 4.0.9 => 4.0.9 react: ^18.0.0 => 18.3.1
The text was updated successfully, but these errors were encountered:
No branches or pull requests
相关平台
微信小程序
小程序基础库: 3.7.7
使用框架: React
复现步骤
使用 zustand 构建 store 后正常页面内引入,使用 dev:weapp 打包出错:taro.react_production_min.create is not a function,但是使用 build:weapp 则不会出错,zustand 版本5.0.0 以上可复现错误,旧版本正常
期望结果
正常使用 zustand
实际结果
报错 taro.react_production_min.create is not a function
环境信息
The text was updated successfully, but these errors were encountered: