Problem
When you try to update your jsonnet libraries, you faced the error message like
$ jb update
jb: error: failed to load jsonnetfile: open /Users/bob/dev/github.com/dave/libsonnet/24kmagic/jsonnetfile.json: no such file or directory$ jb update
jb: error: failed to load lockfile: open /Users/bob/dev/github.com/dave/libsonnet/24kmagic/jsonnetfile.lock.json: no such file or directory
Solution
Reconcile the missing files by copying them from your Tanka directory.
$ cd tanka
$ cp jsonnetfile.json /Users/bob/dev/github.com/dave/libsonnet/24kmagic
$ cp jsonnetfile.lock.json /Users/bob/dev/github.com/dave/libsonnet/24kmagic
You may clean up the dependencies in these files to fit for the library you’re trying to update.