TypeError: pathToRegexp is not a function
at new ErrorReport (D:\project\monitor-applet\node_modules\@dcloudio\vue-cli-plugin-uni\lib\error-reporting.js:21:31)
at Function.get instance [as instance] (D:\project\monitor-applet\node_modules\@dcloudio\vue-cli-plugin-uni\lib\error-reporting.js:10:24)
at report (D:\project\monitor-applet\node_modules\@dcloudio\vue-cli-plugin-uni\lib\error-reporting.js:149:15)
at process.<anonymous> (D:\project\monitor-applet\node_modules\@dcloudio\vue-cli-plugin-uni\lib\error-reporting.js:159:42)
at process.emit (events.js:315:20)
at process._fatalException (internal/process/execution.js:163:25)
1***@qq.com
- 发布:2023-03-06 17:21
- 更新:2023-11-07 11:08
- 阅读:379
2 个回复
DCloud_UNI_WZF
如果HBuilderX 或者 cli 版本不是最新,尝试升级到最新
测试默认模板是否存在该问题,如不存在,对比修改确认问题点
如确认框架问题,提供测试工程,谢谢
5***@qq.com
解决了吗 我也遇到了同样的问题