haskell / haskell-ide-engine

The engine for haskell ide-integration. Not an IDE
BSD 3-Clause "New" or "Revised" License
2.38k stars 211 forks source link

Error when running Shake build system #1626

Closed conradwt closed 4 years ago

conradwt commented 4 years ago

Given

When I type

git clone https://github.com/haskell/haskell-ide-engine --recursive
cd haskell-ide-engine && ./install.hs build

Then I get the following error message:

Error when running Shake build system:
  at want, called at src/Development/Shake/Internal/Args.hs:83:69 in shake-0.18.3-K6N2eLzVtai6jtZeWAmEIo:Development.Shake.Internal.Args
* Depends on: build
  at error, called at src/Development/Shake/Internal/Rules/File.hs:179:58 in shake-0.18.3-K6N2eLzVtai6jtZeWAmEIo:Development.Shake.Internal.Rules.File
* Raised the exception:
Error, file does not exist and no rule available:
  build
alanz commented 4 years ago

build is not a valid command. See https://github.com/haskell/haskell-ide-engine/blob/master/README.md#building

conradwt commented 4 years ago

Hi, I'm new to Haskell and I'm following these instructions:

https://marketplace.visualstudio.com/items?itemName=alanz.vscode-hie-server

conradwt commented 4 years ago

@alanz I'm starting to make much better progress now. After performing the following steps:

stack ./install.hs hie-8.6.5
stack ./install.hs data

Should I then install the VS Code extension?

fendor commented 4 years ago

Yes, the vscode extensions is required, but apparently its documentation is not up-to-date!

conradwt commented 4 years ago

Thanks @alanz and @fendor for your assistance and this issue can be closed.