-
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
使用1.2.22版本h5-router运行报错 #2665
Comments
欢迎提交 Issue~ 如果你提交的是 bug 报告,请务必遵循 Issue 模板的规范,尽量用简洁的语言描述你的问题,最好能提供一个稳定简单的复现。🙏🙏🙏 如果你的信息提供过于模糊或不足,或者已经其他 issue 已经存在相关内容,你的 issue 有可能会被关闭。 Good luck and happy coding~ |
我在 1.2.23 上也碰到这个问题了,只是做了一个 taro update project |
我也遇到这个问题了。在1.2.17升级1.2.23,结果样式错乱,还原回1.2.17后报这个错,后来将@tarojs/cli 这个包也还原回去才好。 |
我用taro 1.2.22也遇到了这个问题,解决办法是在项目里运行 taro update project 更新当前项目的taro依赖。 |
更新后,同样遇到了这个问题 |
问题描述
[问题描述:Uncaught TypeError: (0 , _router.createHistory) is not a function]
复现步骤
[复现问题的步骤]
[或者可以直接贴源代码,能贴文字就不要截图]
期望行为
之前可以正常运行,只是更换了环境
报错信息
app.js?d0a8:19 Uncaught TypeError: (0 , _router.createHistory) is not a function
at eval (app.js?d0a8:19)
at Object../.temp/app.js (app.js:915)
at webpack_require (app.js:767)
at fn (app.js:130)
at Object.0 (app.js:1604)
at webpack_require (app.js:767)
at app.js:902
at app.js:905
系统信息
The text was updated successfully, but these errors were encountered: