Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Cannot create Haskell Modules #704

@alexpartsch

Description

@alexpartsch

I've freshly installed the Haskell plugin to my IntelliJ IDEA 2024.2.3 (Ultimate Edition) - Build #IU-242.23339.11, built on September 25, 2024 on MacOS Sequoia 15.0.1 (24A348), and tried to create a new Haskell Module.

After selecting a folder, giving a module name and clicking create I got immediately an error popup stating:

Error adding module to project: Couldn't create Haskell module due to failure retrieving or parsing Cabal file for package path PATH-TO-FOLDER

*PATH-TO-FOLDER here to be replaced with the folder I've selected for the module

I got two errors in the IntelliJ activity:

Cannot run program "/usr/local/bin/stack" (in directory "/Users/USERNAME"): error=2, No such file or directory

(USERNAME) here to be replaced with my MacOS system users' name.

Executing `/usr/local/bin/stack --numeric-version` failed: /usr/local/bin/stack --numeric-version:

Also restarting IntellIJ didn't work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions