Skip to content

Cannot activate extension due to unknown dependency #1376

Description

@ploeh

Your environment

Which OS do you use:

Edition Windows 11 Pro
Version 23H2
Installed on ‎03.‎02.‎2024
OS build 22631.6199
Experience Windows Feature Experience Pack 1000.22700.1108.0

Steps to reproduce

Attempt to install the Haskell Visual Studio Code extension.

Expected behaviour

The Visual Studio Code extension is installed and working.

Actual behaviour

When starting Visual Studio Code, the following pop-up error message appears:

Cannot activate the 'Haskell' extension because it depends on an unknown 'justusadam.language-haskell' extension.

True to the message's content, the extension does not work.

Include debug information

Execute in the root of your project the command haskell-language-server-wrapper --debug . and paste the logs here (you can find the executable location here):

Debug output:
$ haskell-language-server-wrapper --debug .
No 'hie.yaml' found. Try to discover the project type!
Run entered for haskell-language-server-wrapper(haskell-language-server-wrapper-2.5.0.0.exe) Version 2.5.0.0 x86_64 ghc-9.4.8
Current directory: C:\Users\mark\Documents\Datalogi\AP\Exam\exam-handout
Operating system: mingw32
Arguments: ["--debug","."]
Cradle directory: C:\Users\mark\Documents\Datalogi\AP\Exam\exam-handout
Cradle type: Cabal

Tool versions found on the $PATH
cabal:          3.10.2.1
stack:          3.9.1
ghc:            9.4.8

[I've excluded the rest, which is quite extensive, reveals quite a bit about the files on my machine, and is probably not relevant to this particular issue. I will, however, provide the information if required.]

Metadata

Metadata

Assignees

Labels

type: bugA bug or unintended effect

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions