lanhao
lanhao
Maybe can publish message by rabbitmq sdk ,not nameko sdk in C#.Reference on:  It is just about rabbitmq rpc use.
In my use,the method `flush` do not work well. Someone tell me, it should be write header as stream reponse,method `flush` would work?
Sorry,it work well.The above I meet,may be: when the network is good and not good,the flush will work not the same? I got it from document.
Did tornado do asgi ,just like tornado.wsgi.WSGIContainer?May be tornado.asgi.ASGIContainer?
Thanks very much.
the same problem. Did you finish it?
遇到了类似的问题。 在ubuntu 22.04 下, node 和npm 均以安装好(通过nvm安装),且终端中node -v 和 npm -v 均能正确输出版本信息。 终端和dev-sidecar 以相同用户启动。 当dev-sidecar 选中npm 代理时,输出异常“Api invoke error Error invoking remote method 'apiInvoke': Error: /bin/bash: 行 1: npm: 未找到命令”
通过查找npm 路径得到: `home/username/.nvm/versions/node/v23.5.0/bin/npm` 然后按照要求,在devsidecar中配置npm 路径,重启后,尝试开启npm 代理: `Error invoking remote method 'apiInvoke': Error: /usr/bin/env: "node": 没有那个文件或目录` 从表现来看,不像是权限,更像是,devsidecar中将node 的路径(或者npm路径)写得相对固定?
这是devsidecar core.log 中关于node 的部分日志: ```text ===> commands: npm config set proxy=http://127.0.0.1:31181 error: Error: Command failed: npm config set proxy=http://127.0.0.1:31181 /bin/bash: 行 1: npm: 未找到命令 at ChildProcess.exithandler (node:child_process:408:12) at ChildProcess.emit (node:events:526:28)...
> 我在我mac中brew install npm 问题解决。你们可以继续讨论。 ubuntu中通过apt install 应该能解决这个问题。但是这里主要是用到了nvm,是希望通过nvm 来控制node 的版本。估计是引入了nvm 导致了逻辑不兼容。