-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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
getSystemInfoSync 不存在 #8450
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Jan 5, 2021
Taro版本问题,Taro3.0.21版本支持且保证保持 @tarojs/cli 的版本与各端依赖版本一致 |
打开package.json 检查一下是否所有@tarojs/xxx的库都是同一个版本,如果有不同的版本就统一成同一个版本,删掉node_modules,重新安装一下依赖,问题解决。 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
小程序基础库: 2.14.1
使用框架: React
复现步骤
直接调用
期望结果
正常运行
实际结果
TypeError: Taro$1__default.getSystemInfoSync is not a function
环境信息
The text was updated successfully, but these errors were encountered: