Open Munksgaard opened 7 months ago
Looks like the problem is the path
specification.
Please change
{:instructor, path: Path.expand("../", __DIR__)}
To {:instructor, " ~> 0.0.5 "}
in your livebook.
Thank you, that works. I realize that changing this in the repo would mean having to update every time there's a new release, but having it like it currently is kind of defeats the purpose, imho. How do other libraries handle this?
You can use git source.
{:foobar, git: "https://github.com/elixir-lang/foobar.git"}
I guess that could work. Explorer does it like this it seems, but I don't know how they make sure the tag is up to date.
You can put branch name.
{:foobar, git: "https://github.com/elixir-lang/foobar.git", branch: "master"}
Yeah, either could work. I leave it up to you to choose whether to change anything or just close this issue :-)
Yeah.. no solution is great. Using :path like i am currently breaks when you try to import the livebook. Version pegging is tedious when you're developing new examples pre-release. Git suffers from the same issue, but may be the best option since at least you can develop docs against unreleased code, pre-release?
When trying to run the quickstart example in my local livebook, I get this error: