chapel icon indicating copy to clipboard operation
chapel copied to clipboard

[Bug]: mason `add` requires manual clone of registry

Open jeremiah-corrado opened this issue 9 months ago • 0 comments

In attempting to add a dependency to a mason project (e.g., mason add [email protected]), I got the following error:

error in listDir(): /Users/.../.mason/mason-registry/Bricks/: No such file or directory
No TOML file in registry for Codecs

Where the mason-registry was missing from the/.mason directory. I was able to get mason add working by manually cloning my fork of the mason registry in ./mason.

Note, I built mason from source and did not install it into any specific directory. I'm guessing that installing mason would have cloned the registry repo; however it seems like a bug that features which rely on the registry don't work when mason is built from source

jeremiah-corrado avatar May 07 '24 20:05 jeremiah-corrado