zbwang

Results 8 comments of zbwang

看着像是nodejs的bug 可以试下以下方案 https://blog.csdn.net/weixin_43870742/article/details/103153462

同样报这个错,折腾两天了,跑步起来,你怎么解决的?请教 @haoljp

谢谢,问题已解决。 通过替换为@toast-ui/editor,install正常了,run的时候还是报错..... 直接全局搜索markdown,把markdown相关的组件删了,从package.json里也把tui-editor依赖也删了之后,恢复正常了。 涉及的文件列表如下: ![image](https://user-images.githubusercontent.com/20251420/233759194-212d6f04-00e8-4799-a265-9b12d4b1d8d5.png)

[请参考https://github.com/xuexiangjys/react-native-xupdate/issues/2#issuecomment-706896597](https://github.com/xuexiangjys/react-native-xupdate/issues/2#issuecomment-706896597)

> 在管理后台的 Whistle 里面配置 `路径 whistle.nohost://none` 试试 nohost version: 1.5.4 加上whistle.nohost://none之后,还是会添加脚本到html。还有其它的配置可以使用么,?可以不添加任何内容到html里。 目前添加的内容如下: < !DOCTYPE html > window.__whistle_nohost_from_imweb_is_inited__ = true;

通过修改响应头的content-type为非text/html,临时规避了这个问题。不知道是不是有其他更优雅的解决办法,期待回复中... 临时解决方案如下: 在管理后台的 Whistle 里面配置: https://www.**.com/toolBox/code.do?type=2 resType://text ![image](https://user-images.githubusercontent.com/20251420/199643097-5984f08d-586a-42ad-8349-c633dba0a965.png) 备注: 我们的业务场景是传递一个加密码到后台,后台再返回一串解密之后的数字到前台,然后前台保存响应中的数字在页面上。但是响应的的content-type是text/html,也是非常奇葩。

Q1. pod install 报错 > No podspec found for `RNXUpdate` in `../node_modules/react-native-xupdate-new` 一种解决办法是手动修改../node_modules/react-native-xupdate-new中podspec文件内的s.homepage,使其不为空值。这么做能临时解决问题,但不完美。 第二种解决方法是 使其在ios环境下不自动链接 xupdate,完美解决pod install的报错。(推荐做法) 做法: 在工程根目录下添加react-native.config.js 文件内容为 ```bash // react-native.config.js module.exports = { dependencies: { 'react-native-xupdate-new': {...

***.js ```bash ... import {XUpdate, InitArgs, UpdateArgs, UpdateEntity} from 'react-native-xupdate-new'; const errorListener = (error) => { console.log(error); }; export default class Setting extends Component { constructor(props) { super(props) this.state =...