pomelo reloadRemotes rpc报错,no such namespace:sys

pomelo开启reloadRemotes: true后,修改remote文件报错,fail to process remote message:Error: no such namespace:sys
这是因为pomelo-rpc重载文件的时候把命名空间整个重置了。。。
解决方案,修改
node_modules/pomelo-rpc/lib/rpc-server/gateway.js 里的watchServices方法
图示位置加上代码即可



- Illegal mix of collations (utf8_unicode_ci,IMPLICIT) and (utf8_general_ci,IMPLICIT) for operation '=
- JavaScript中的LHS和RHS查询
- 无法加载键: scan commands not supported by redis-server
- 纯代码做的五子棋游戏
- node到底是个啥?浅谈node.js 初体验
- nginx强制使用https访问(http跳转到https)
- pomelo 运行出错及其处理方法 iostat/pidstat: command not found
- MySQL 正则表达式
- WDCP面板升级Nginx,并开启HTTP/2
- 解决linux环境下nohup: redirecting stderr to stdout问题
本文作者:起点终站
文章标题: pomelo reloadRemotes rpc报错,no such namespace:sys
本文地址:https://blog.hellozwh.com/?post=437
版权声明:若无注明,本文皆为“起点终站”原创,转载请保留文章出处。
本文地址:https://blog.hellozwh.com/?post=437
版权声明:若无注明,本文皆为“起点终站”原创,转载请保留文章出处。


