Skip to content

Fix or workaround for obscure ERROR: expected package JuliaSyntaxHighlighting [dc6e5ff7] to be registered #58534

@PallHaraldsson

Description

@PallHaraldsson

I believe this only happens if you have a Manifest.toml file in the way when e.g. doing:

julia project=.

What should Julia do, can it remove/rename the file, or even just state it's in the way? Could/should it add JuliaSyntaxHighlighting to it?

This is a bad new user experience, not easily googlable, but I posted a workaround for my question here:

https://discourse.julialang.org/t/in-1-11-and-1-10-error-expected-package-juliasyntaxhighlighting-dc6e5ff7-to-be-registered/122555

See there, for a similar error for Juno, that I point to. I find it at least more important for this to work with Julia's own stdlib, so special-casing the error message, explaining what to do, rather than just what "happened", taking it into account feels appropriate.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions