Skip to content
This repository was archived by the owner on Oct 7, 2020. It is now read-only.
This repository was archived by the owner on Oct 7, 2020. It is now read-only.

Can not load module in Setup.hs #1093

Open
@tz70s

Description

@tz70s

Hi, I', not sure this is a problem related to hie, bare with me asking here.

Environment:

  • Mac OSX Mojave
  • Only install stack (v1.9.3) via home brew instead of Haskell platform.
  • HIE source build for 8.6.3 (lts-13.8)
  • vscode plugin for editor frontend.

Everything works fine: code completion, linting, formatting, etc; but there's always an error log on vscode as following for Setup.hs:

Could not load module ‘Prelude’
It is a member of the hidden package ‘base-4.12.0.0’.
You can run ‘:set -package base’ to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v to see a list of the files searched for.

Could not load module ‘Distribution.Simple’
It is a member of the hidden package ‘Cabal-2.4.1.0’.
You can run ‘:set -package Cabal’ to expose it.
(Note: this unloads all the modules in the current scope.)
It is a member of the hidden package ‘Cabal-2.4.0.1’.
You can run ‘:set -package Cabal’ to expose it.
(Note: this unloads all the modules in the current scope.)
Use -v to see a list of the files searched for.

This is quite bothering me, am I missing anything? Thanks!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions