Playing With Dagger.io (2)

Last night I was reading a bit about CUE when noticing that I could do:

cue eval file_name.cue

But when trying to do so in my Windows PC, I got the following error:

λ cue eval localdev.cue
import failed: cannot find package "dagger.io/dagger":
    .\localdev.cue:5:5

After quickly checking and remembering, then I realized I needed a project:

λ dagger project init
Project initialized! To install dagger packages, run `dagger project update`

And also I had to update this:

λ dagger project update
5:45PM INFO  system | installing all packages...
5:45PM INFO  system | installed/updated package dagger.io@0.2.25
5:45PM INFO  system | installed/updated package universe.dagger.io@0.2.25

At this moment, I can finally use the intial intended cue eval file_name.cue.

 Share!

 
comments powered by Disqus