Open tangbzai opened 7 months ago
有解决方案吗?
有解决方案吗?
目前没有很好的解决方案,只能回退Taro版本到3.6.22或者不使用这个库。
我目前定位到问题是出在 Taro的 #15094 pr 导致的报错。
这个合并里修改了@tarojs/router
的 createRouter
函数(在函数前面增加了一个history
参数)而这个库的代码未做对应修改导致的问题。
具体代码片段:packages/taro-router/src/router/spa.ts
这个库需要调整的位置:
@heiazu 麻烦大佬看看如何修改
有解决方案吗?
目前没有很好的解决方案,只能回退Taro版本到3.6.22或者不使用这个库。
那只能暂时回退版本了
还没解决吗。。。
Amazing!
都 "@tarojs/taro": "3.6.34"
了,还没能解决这个问题 😭
这个库都没见维护了
问题描述:
taro 3.6.24版本的模板项目运行测试会报找不到
history
的错误。3.6.23开始有这个问题,回退到3.6.22可以解决该问题
错误信息:
Test Suites: 1 failed, 1 total Tests: 0 total Snapshots: 0 total Time: 15.156 s Ran all test suites. ELIFECYCLE Test failed. See above for more details.