桃码陶
桃码陶
Same issue. I just lock `@types/superagent` to `4.1.13` to fix this problem temporarily. ``` "resolutions": { "@types/superagent": "4.1.13" }, ```
前两天修改了一下多人视频聊天时wx:key的问题,可能会有改善~
为什么会报错呢?
Problem resolved~ I renamed `HTTPManager.js` to `httpManager.js`, but git ignored this.
可以的,一开始这个就是想拿给酷儿用的,不过那个时候他没有时间支持这件事(API接口之类的,所以自己又做了个hitokoto-pwa-backend的后台)。有什么不明白的可以提issue。
看上去是fahter-build的问题,使用powershell 或者git 自带的bash执行试试呢?
> 这个是写错了把 这是1.x的修复,2.0不需要了
项目有这些问题 1.设置的entry的url,有些时候访问不到html内容,需要url加上index.html 2.route设置里 有个*匹配,去掉这个,看一下规则换种写法 3.ts错误检查插件偶尔生效偶尔不生效的样子? 问题的范围是在点击导航跳到新url后,vue-router的有个ensureURL函数又给改回main/home了,导致又重新挂载了main。
> 基层的那个项目,我是没有设置router的,是否是子项目的js没有做到完全的隔离??? 第一步 ,你删掉 ` *匹配`, 第二步 改一下webpack打包的sourcemap,使用的eval去跑的代码,有些串连了。我试一下改sourcemap @kuitos 这里用不用也注入eval到sandbox里?
sourcemap的修改内容为 ``` config.output.devtoolNamespace = 【你的应用名称】, config.devtool = false; config.plugins.push( new webpack.SourceMapDevToolPlugin( { //@ts-ignore maybe deprecated namespace: 【你的应用名称】, append: `\n//# sourceMappingURL=协议://域名:${端口t}/[url]`, 👮♀️ 👮♀️这里publicPath filename: '[file].map', }, ) ) config.output.[ 🚓🚓这里改下面三个 library:...