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

potential missing dependency causing "Error: undeclared identifier: 'TagId'" #6

Open
ashw7n opened this issue Oct 21, 2021 · 1 comment

Comments

@ashw7n
Copy link

ashw7n commented Oct 21, 2021

First of all thanks for the project. I am trying to learn Nim and what better way to try out stuff that using it with kubernetes and is how I discovered this project.

I am however stuck with the following error, since my knowledge of Nim is also pretty new I am stuck. Can you point out at what might be going wrong here?

nim c -r tests/test.nim
Hint: used config file '/usr/local/Cellar/nim/1.6.0/nim/config/nim.cfg' [Conf]
Hint: used config file '/usr/local/Cellar/nim/1.6.0/nim/config/config.nims' [Conf]
Hint: used config file '/Users/a/Projects/nim-me/n8s/nim.cfg' [Conf]
...................................................................................................................................................
/Users/a/Projects/nim-me/n8s/src/n8s/base_types.nim(21, 1) Warning: use setTag; setTagUri is deprecated [Deprecated]
/Users/a/Projects/nim-me/n8s/src/n8s/base_types.nim(31, 85) Error: undeclared identifier: 'TagId'
candidates (edit distance, scope distance); see '--spellSuggest':
 (2, 3): 'Tag' [type declared in /Users/a/.nimble/pkgs/yaml-0.15.0/yaml/data.nim(13, 3)]
make: *** [tests/test.log] Error 1```

The nim version I am using is 1.6.0
```$ nim -version
Nim Compiler Version 1.6.0 [MacOSX: amd64]
Compiled at 2021-10-19
Copyright (c) 2006-2021 by Andreas Rumpf

active boot switches: -d:release -d:nimUseLinenoise
@wonderix
Copy link
Owner

This is caused by a newer version of yaml. TagId was renamed to Tag.
I started this project to learn nim in more detail.
In my daily work, I unfortunately have nothing to do with Kubernetes anymore. So this project is also more ore less unmaintained.
I fixed the compilation error. But the tests are no longer running.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants