Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

REPL-StyledString error when simply starting Julia 1.11 #56338

Closed
aplavin opened this issue Oct 25, 2024 · 1 comment
Closed

REPL-StyledString error when simply starting Julia 1.11 #56338

aplavin opened this issue Oct 25, 2024 · 1 comment

Comments

@aplavin
Copy link
Contributor

aplavin commented Oct 25, 2024

I'm trying to gradually switch to 1.11, and encounter a very annoying error in almost every project I open.
Basically, whenever I just start julia in a project that was instantiated with 1.10, I immediately get this error:

[ Info: Precompiling Revise [295af30f-e4ad-537b-8983-00126c2a3abe] (cache misses: invalid header (2))
ERROR: LoadError: ArgumentError: Package REPL does not have StyledStrings in its dependencies:
- Note that the following manifests in the load path were resolved with a different
  julia version, which may be the cause of the error. Try to re-resolve them in the
  current version, or consider deleting them if that fails:
    /...../Manifest.toml (v1.10.4)
    /Users/aplavin/.julia/environments/v1.11/Manifest.toml (v1.11.0)
- You may have a partially installed environment. Try `Pkg.instantiate()`
  to ensure all packages in the environment are installed.
- Or, if you have REPL checked out for development and have
  added StyledStrings as a dependency but haven't updated your primary
  environment's manifest file, try `Pkg.resolve()`.
- Otherwise you may need to report an issue with REPL
<... traceback ...>
julia> 

I do have Revise in my startup, as probably many other Julia users. Can we do at least something to make the transition to 1.11 more seamless in this common case? I would expect such an issue when actually loading something from the current project that changed from 1.10 to 1.11, but not when just starting Julia...

@IanButterworth
Copy link
Member

Fixed by #56148 which will be on 1.11.2

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants