Help setting up a package

I’m running into difficulties using PkgTemplates to setup a package. I made a tiny package here

But when I try to add it at the repl, it fails:

(@v1.8) pkg> add
ERROR: invalid git HEAD (reference 'refs/heads/main' not found)

What does this error mean?

I was able to add your package, no problem. Which means you’ve done it right! :slight_smile: If it’s still not working maybe you’ve messed up something locally?

Very strange. I deleted most of ~/.julia and tried again and it worked. Thanks.

1 Like