We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
使用
smartide start https://gitee.com/idcf-boat-house/boathouse-calculator.git
或
git clone https://gitee.com/idcf-boat-house/boathouse-calculator.git cd boathouse-calculator smartide start
都会失败
报错信息:
[v1.0.32.7251] 2022-12-07 14:23:11.689 INFO SmartIDE启动中 ... 2022-12-07 14:23:11.689 INFO 读取工作区信息 ... 2022-12-07 14:23:12.473 INFO 当前目录已经完成初始化,无须再次进行! 2022-12-07 14:23:12.474 INFO 新增工作区! 2022-12-07 14:23:12.475 INFO 读取 docker-compose 文件:docker-compose.yaml 2022-12-07 14:23:12.587 FATAL ; runtime error: slice bounds out of range [:-1]; goroutine 1 [running]: runtime/debug.Stack() /usr/local/go/src/runtime/debug/stack.go:24 +0x88 github.com/leansoftX/smartide-cli/pkg/common.(*smartIDELogStruct).Fatal(0x1027d9520, {0x101aca420, 0x140004e2858}, {0x0, 0x0, 0x0}) /home/localadmin/agents/agent01/_work/4/s/cli/pkg/common/log.go:199 +0x1c4 main.main.func1() /home/localadmin/agents/agent01/_work/4/s/cli/main.go:41 +0x50 panic({0x101aca420, 0x140004e2858}) /usr/local/go/src/runtime/panic.go:1038 +0x21c github.com/leansoftX/smartide-cli/internal/biz/config.GitConfig(0x0, {0x0, 0x0}, 0x0, 0x140008f8a60, {{0x0, 0x0}, 0x0, {0x0, 0x0}, ...}, ...) /home/localadmin/agents/agent01/_work/4/s/cli/internal/biz/config/gitconfig.go:138 +0xba8 github.com/leansoftX/smartide-cli/internal/biz/config.(*SmartIdeConfig).ConvertToDockerCompose(0x14000478fc0, {{0x0, 0x0}, 0x0, {0x0, 0x0}, {0x0, 0x0}, {0x0, 0x0}, ...}, ...) /home/localadmin/agents/agent01/_work/4/s/cli/internal/biz/config/config.go:307 +0x12a8 github.com/leansoftX/smartide-cli/cmd/start.ExecuteStartCmd({{0x0, 0x0}, {0x14000047128, 0x18}, {0x0, {0x0, 0x0}}, {0x14000048004, 0x1e}, {0x10169aae3, ...}, ...}, ...) /home/localadmin/agents/agent01/_work/4/s/cli/cmd/start/local.go:90 +0x4e0 github.com/leansoftX/smartide-cli/cmd.glob..func15(0x1027c1700, {0x10280c2c8, 0x0, 0x0}) /home/localadmin/agents/agent01/_work/4/s/cli/cmd/start.go:177 +0x6d0 github.com/spf13/cobra.(*Command).execute(0x1027c1700, {0x10280c2c8, 0x0, 0x0}) /home/localadmin/go/pkg/mod/github.com/spf13/[email protected]/command.go:856 +0x668 github.com/spf13/cobra.(*Command).ExecuteC(0x1027c0580) /home/localadmin/go/pkg/mod/github.com/spf13/[email protected]/command.go:974 +0x410 github.com/spf13/cobra.(*Command).Execute(...) /home/localadmin/go/pkg/mod/github.com/spf13/[email protected]/command.go:902 github.com/leansoftX/smartide-cli/cmd.Execute({{0x140004e78a0, 0xc}, {0x140004e7870, 0xb}, {0x1400055ca20, 0x23}, {0x1400055ca50, 0x28}, {0x1400055ca70, 0x8}, ...}) /home/localadmin/agents/agent01/_work/4/s/cli/cmd/root.go:144 +0x88 main.main() /home/localadmin/agents/agent01/_work/4/s/cli/main.go:50 +0xd4
The text was updated successfully, but these errors were encountered:
No branches or pull requests
使用
或
都会失败
报错信息:
The text was updated successfully, but these errors were encountered: