[ ~ ]# cd .\examples\appops\nginx-example\dev\
[ ~ ]# kcl.exe .\main.k
error[E2L23]: CompileError
--> C:\user\xiaosi\konfig\models\kube\backend\server_backend.k:65:33
|
65 | provider = [*provider, *StorageBackend(config).provider]
| ^ name 'StorageBackend' is not defined, did you mean '["ServerBackend"]'?
|
error[E2L23]: CompileError
--> C:\user\xiaosi\konfig\models\kube\backend\server_backend.k:68:33
|
68 | provider = [*provider, *DatabaseBackend(config).provider]
| ^ name 'DatabaseBackend' is not defined
|
kube\backend\server_backend.k:65:33 # name 'StorageBackend' is not defined,
models\kube\backend\server_backend.k:68:33 # name 'DatabaseBackend' is not defined
4. What is your KCL components version? (Required)
Bug Report
我在
windows 11
中运行nginx
示例出现以下错误。我刚学习且没有编程经验,不知道怎么处理1. Minimal reproduce step (Required)
2. What did you expect to see? (Required)
希望能够解决这个问题,能像教程那样正常输出
3. What did you see instead (Required)
4. What is your KCL components version? (Required)