-
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
将3.6.2升级到4.0之后,发现新版本报错用不了,然后回退到3.6.2,旧项目启动不了,全局taro -v 显示3.6.2 #16412
Comments
taro-bot2
bot
added
F-react
Framework - React
T-weapp
Target - 编译到微信小程序
V-3
Version - 3.x
labels
Aug 27, 2024
貌似解决了,把@tarojs/plugin-html降到3.6.2,但是为啥会给我安装3.6.34版本啊?????,刚才info才发现,版本不一样,但我package.json的版本是3.6.2......... |
This was referenced Aug 31, 2024
This was referenced Aug 31, 2024
也有类似的问题 找到taro 安装目录 删除后重新安装就可以了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
相关平台
微信小程序
复现仓库
https://github.com/Aliujiayu/taro4.git ### 这个基本可以忽略,是老项目,没法出demo,这个地址是升级后4.0版本的demo,就升级这个导致旧项目报错
小程序基础库: 3.5.4
使用框架: React
复现步骤
将3.6.2升级到4.0之后,发现新版本报错用不了,然后回退到3.6.2,结果旧项目启动不了,全局taro -v 显示3.6.2
能使用的手段都用了,依然报错,没升级之前是好的
期望结果
希望能尽快解决,让老项目正常运行,已经拖了很久很久了
实际结果
终端报错
控制台报错
app.js错误:
环境信息
补充信息
不用看git链接,不能把3.6.2的实际项目放git,放了4.0的demo
初始化项目是能跑起来的,使用下面依赖后出现bug,目前只能看是下面这几个哪个不兼容导致的
完整的package.json
The text was updated successfully, but these errors were encountered: