Yearning icon indicating copy to clipboard operation
Yearning copied to clipboard

[Question] 二次开发改了代码后build的二进制需要使用rpc吗

Open showsmall opened this issue 1 year ago • 8 comments

描述问题 二次开发改了代码后build的二进制需要使用rpc吗?我使用3.1.8的源代码改了一些东西,编译后执行查询sql,提示rpc调用失败,发现需要配置rpc,但是我用作者编译的包就不需要,2024/09/19 11:10:04 dial tcp: missing address ,求解答,然后还有就是 //go:embed chat/server/app/index.html var chatindex string 这个资源在哪里呢?chat的静态资源,没有找到

复现 重现该行为的步骤:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

期望的结果 清晰而简洁地描述你希望得到的结果

截图

image

部署方式

  • [ ] Docker
  • [x] Manual

环境 (请填写环境信息):

  • 操作系统: [e.g. iOS]
  • 浏览器 [e.g. chrome, safari]
  • 版本号 [e.g. 22]

额外的日志信息 在这里添加有关该问题的所有日志。

showsmall avatar Sep 19 '24 03:09 showsmall

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


Title: [Question] Does the binary built after changing the code in secondary development need to use rpc?

Issues-translate-bot avatar Sep 19 '24 03:09 Issues-translate-bot

image 实在是不知道怎么弄的了,v3.1.8的二进制版本官方打包需要rpc,我自己编译打包的就需用rpc,不知道哪里没弄好

showsmall avatar Sep 19 '24 09:09 showsmall

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


image I really don’t know how to do it. The official packaging of the binary version of v3.1.8 requires rpc. When I compile and package it myself, I need rpc. I don’t know what I didn’t get it right.

Issues-translate-bot avatar Sep 19 '24 09:09 Issues-translate-bot

@cookieY help

showsmall avatar Sep 19 '24 10:09 showsmall

v3.1.8的二进制版本官方打包不需要rpc,我自己编译打包的就需要rpc,不知道哪里没弄好

showsmall avatar Sep 19 '24 10:09 showsmall

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


The official packaging of the binary version of v3.1.8 does not require rpc. The one I compiled and packaged myself requires rpc. I don’t know what I didn’t get it right.

Issues-translate-bot avatar Sep 19 '24 10:09 Issues-translate-bot

https://next.yearning.io/dev/callback.html 自行开发需要启动 juno

cookieY avatar Sep 25 '24 06:09 cookieY

Bot detected the issue body's language is not English, translate it automatically. 👯👭🏻🧑‍🤝‍🧑👫🧑🏿‍🤝‍🧑🏻👩🏾‍🤝‍👨🏿👬🏿


https://next.yearning.io/dev/callback.html Self-development requires starting juno

Issues-translate-bot avatar Sep 25 '24 06:09 Issues-translate-bot