init not working on macOS
评估
调研方向
首先,在 macOS 上根据所示的命令输出复现 refresh init 和 refresh run。检查负责创建默认配置和启动重新构建的二进制文件的 CLI 路径;完成的标准是 refresh init 创建 refresh.yml,并且 refresh run 无需手动创建配置即可成功执行。
由索引模型根据 Issue 内容生成。
描述
Unsure on what is happening but refresh init is not creating the default yml file.
Note that the refresh.yml.bak file is just my backup file to submit this issue.
Also note that the project is outside GOPATH and it seems to make no difference if GO111MODULE=on is set.
> ls -l
total 24088
-rw-r--r--@ 1 gus staff 130 25 Aug 18:28 Makefile
-rwxr-xr-x 1 gus staff 12272428 25 Aug 18:26 backend*
-rw------- 1 gus staff 2930 25 Aug 18:24 go.mod
-rw------- 1 gus staff 39189 25 Aug 18:24 go.sum
-rw-r--r--@ 1 gus staff 2235 25 Aug 17:38 main.go
drwxr-xr-x 5 gus staff 160 25 Aug 12:52 pkg/
-rw-r--r--@ 1 gus staff 997 25 Aug 18:27 refresh.yml.bak
drwxr-xr-x 4 gus staff 128 25 Aug 14:27 vendor/
> refresh init
Refresh (1.4.0)
> ls -l
total 24088
-rw-r--r--@ 1 gus staff 130 25 Aug 18:28 Makefile
-rwxr-xr-x 1 gus staff 12272428 25 Aug 18:26 backend*
-rw------- 1 gus staff 2930 25 Aug 18:24 go.mod
-rw------- 1 gus staff 39189 25 Aug 18:24 go.sum
-rw-r--r--@ 1 gus staff 2235 25 Aug 17:38 main.go
drwxr-xr-x 5 gus staff 160 25 Aug 12:52 pkg/
-rw-r--r--@ 1 gus staff 997 25 Aug 18:27 refresh.yml.bak
drwxr-xr-x 4 gus staff 128 25 Aug 14:27 vendor/
Unable to get any more verbose output from the binary.
refresh run runs without the config file but does not work:
> refresh run
Refresh (1.4.0)
2019/08/25 18:32:49 No configuration loaded, proceeding with defaults
refresh: 2019/08/25 18:32:49 === Rebuild on: :start: ===
refresh: 2019/08/25 18:32:49 === Running: go build -v -o (PID: 48379) ===
refresh: 2019/08/25 18:32:50 === Building Completed (PID: 48379) (Time: 759.844718ms) ===
refresh: 2019/08/25 18:32:50 === fork/exec : no such file or directory
===
However it works fine when I manually create a refresh.yml file.
- 主要语言
- Go
- 星标
- 196
- 派生
- 32
- PR 合并指标
- 30 天内没有已合并 PR
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
markbates/refresh 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 62/100
-
难度 3/5 1-2 天 新手友好度 35/100
-
codesign for osx未关闭
难度 4/5 3-5 天 新手友好度 25/100
-
难度 4/5 3-5 天 新手友好度 35/100
-
难度 2/5 1-3 小时 新手友好度 42/100
查看 markbates/refresh 的全部 Issue
相似的 Issue
-
feature suggestion
难度 2/5 1-3 小时 新手友好度 88/100
openvibely/openvibely#1526 ·
维护者通常 1 天内回复
-
docs good first issue
难度 2/5 1-3 小时 新手友好度 85/100
Usenova-Labs/usenova-backend#36 ·
维护者通常 1 天内回复
-
bug raised-by:verifier
难度 2/5 1-3 小时 新手友好度 76/100
medici-finance/assay#4177 ·
维护者通常 1 天内回复
-
bug: admin user creation silently ignores role可能已有人在做 @bfs2021 今天认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
eugenioenko/autentico#553 ·
维护者通常 1 天内回复
-
sidecar: --moriio-parallel-dispatch omits remote_request_id, so a vLLM NixlPushConnector decode dies with KeyError可能已有人在做 @xintin 今天认领。 未关闭kind/bug needs-triage
难度 2/5 1-3 小时 新手友好度 78/100
llm-d/llm-d-router#3607 ·
维护者通常 1 天内回复