-
Notifications
You must be signed in to change notification settings - Fork 171
import failed: no CUE files in k8s.io/api/core/v1 #515
Comments
CUE files without a package clause need to be listed explicitly on the command line. So if you add a package clause at the top of the file you're good. This should be mentioned in a better error message. |
also, run |
Ah, thanks very much.
Does this mean "run |
I think those two commands order does not matter, and that the
this did not actually work, to get the files, I had to additionally run the following
I now have the files there It seems that the initial directory specified may need to have Go files / types that Cue can process? (@mpvl ?) It does look like |
I'm seeing the same issue as described by @weberc2-tempus. Here's my setup: file structure:
cue.mod/module.cue:
Attempting to install the k8s packages
listing files in cue.mod (note there aren't any generated files):
Error:
Cue Version Info
|
@jpugliesi - from the looks of your repro you are missing a @verdverm - see #645 for the issue regarding @weberc2-tempus - this issue generally feels like a symptom of the the various issues I summarised in Please feel free to raise any further questions/issues over there, or in a separate issue if you think it a separate issue. Thanks |
This issue has been migrated to cue-lang/cue#515. For more details about CUE's migration to a new home, please see cue-lang/cue#1078. |
What version of CUE are you using (
cue version
)?Does this issue reproduce with the latest release?
Yes
What did you do?
Following the tutorial, I did
What did you expect to see? / What did you see instead?
I seem to be misunderstanding a few things (I'm brand new to cue, so I assume I'm missing something obvious):
cue mod init
per the documentation?cue eval
ignoremain.cue
?The text was updated successfully, but these errors were encountered: