Skip to content
New issue

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

kusion command always produces warning "" #339

Closed
amyXia1994 opened this issue May 9, 2023 · 2 comments · Fixed by #340
Closed

kusion command always produces warning "" #339

amyXia1994 opened this issue May 9, 2023 · 2 comments · Fixed by #340
Labels
kind/bug Something isn't working

Comments

@amyXia1994
Copy link
Contributor

amyXia1994 commented May 9, 2023

What happened?

when executing kusion commands, an error 2023/05/09 11:01:24 kclvm.go:29: [WARN] install kclvm failed: error[E3M38]: No input KCL files or paths was always produced.

➜ kusion

2023/05/09 11:01:24 kclvm.go:29: [WARN] install kclvm failed: error[E3M38]: No input KCL files or paths

kusion 作为云原生可编程技术栈,通过代码管理 kubernetes 集群。

Configuration Commands:
  init          初始化一个新项目,包含 KCL 文件结构和基础代码
  compile       将 KCL 编译成 YAML
  check         检查当前目录中的 KCL 配置是否可以编译
  ls            列出所有项目和堆栈信息
  deps          Show KCL file dependency information

RuntimeMap Commands:
  preview       预览堆栈中的一系列资源更改
  apply         通过工作目录将配置栈应用到一个或多个资源
  destroy       通过工作目录销毁已应用到资源的配置栈

Other Commands:
  completion    Generate the autocompletion script for the specified shell
  env           打印 Kusion 环境信息
  version       打印 kusion 的版本信息

Usage:
  kusion [flags] [options]

Use "kusion <command> --help" for more information about a given command.

What did you expect to happen?

no warning.

How can we reproduce it (as minimally and precisely as possible)?

install kclvm with:
brew install kcl-lang/tap/kclvm

install kusion with:
brew install kusionstack/tap/kusion

run kusion command:
kusion

Anything else we need to know?

No response

Kusion version

$ kusion version
2023/05/09 11:04:54 kclvm.go:29: [WARN] install kclvm failed: error[E3M38]: No input KCL files or paths

releaseVersion: v0.7.4
gitInfo:
    latestTag: v0.7.4
    commit: 6b0e343ee729a18d52cc480eb16f40447bdc53ea
    treeState: clean
buildInfo:
    goVersion: go1.18.10
    GOOS: linux
    GOARCH: amd64
    numCPU: 2
    compiler: gc
    buildTime: "2023-03-06 06:33:54"
dependency:
    kclvmgoVersion: v0.4.5
    kclPluginVersion: v0.4.4

OS version

# On Linux:
$ cat /etc/os-release
# paste output here
$ uname -a
# paste output here

# On Windows:
C:\> wmic os get Caption, Version, BuildNumber, OSArchitecture
# paste output here

Install tools

install kclvm with:
brew install kcl-lang/tap/kclvm

install kusion with:
brew install kusionstack/tap/kusion

@amyXia1994 amyXia1994 added the kind/bug Something isn't working label May 9, 2023
@amyXia1994
Copy link
Contributor Author

cc @Peefy

@Peefy
Copy link
Contributor

Peefy commented May 9, 2023

cc @Peefy

I will upgrade kclvm-go version to v0.4.6 to solve this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants