Error while running julia executable

Hi, I’m new to Julia and I was trying to build and run the executable from the Julia directory( I’m on the master branch)
I got the following error when I run ./julia

LoadError: ArgumentError: Package REPL does not have StyledStrings in its dependencies:

the REPL works all right when I type julia in my terminal. I’d be grateful if someone could explain what’s going wrong. Thanks a lot !!

I can reproduce this on master, so it does not seem to be your fault.

2 Likes

I’ve run into this a lot while switching between branches, and it came up when I had an existing ~/.julia/environments/v1.11/Manifest.toml before the dependency change, and the solution was just to delete that manifest file and let it be re-created with the new information.