hof
hof copied to clipboard
import failed: cannot find package "github.com/hofstadter-io/hof/schema/gen"`
What version of hof
are you using (hof version
)?
$ hof version hof - the high code framework Version: vLocal Commit: Dirty BuildDate: Unknown GoVersion: go1.20.3 OS / Arch: linux amd64 ConfigDir: /home/david/.config/hof CacheDir: /home/david/.cache/hof Author: Hofstadter, Inc Homepage: https://hofstadter.io GitHub: https://github.com/hofstadter-io/hof
What did you do?
cd hof/docs/code
make
What happened?
import failed: cannot find package "github.com/hofstadter-io/hof/schema/gen"`
What did you expect to see?
This is for the first example https://docs.hofstadter.io/first-example/
Is this on tip?
Did you do the docs setup in https://docs.hofstadter.io/contributing/docs/ ?
Not sure if this is needed, and if it is, maybe it shouldn't be.
It is working for me locally, you might need to go through the hof
setup too, or at least run hof mod link
in the repo root
You probably want to build the hof
on the lastest _dev
too, you should see a commit hash in the hof version
$ hof version
hof - the high code framework
Version: Local
Commit: 21768756cd5ec3f4214342e7f161bc7c735e6b99
BuildDate: 2023-04-16T05:06:24Z
GoVersion: go1.19.5
CueVersion: 0.5.0
OS / Arch: linux amd64
ConfigDir: /home/tony/.config/hof
CacheDir: /home/tony/.cache/hof
Author: Hofstadter, Inc
Homepage: https://hofstadter.io
GitHub: https://github.com/hofstadter-io/hof
I'll dig in more and get back to you