question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[global-stack-repl] Invalid options

See original GitHub issue

Hi, I am completely new to the plugin but it looks pretty good. When tried it I wasn’t successful and don’t know where could be a problem. I use Debian Jessie, Stack 1.3.0 and Idea 2016.3.1 Ultimate. In Idea event log it ends always with the same errors:

[global-stack-repl] Stack repl will be started with command: /home/user/haskell/stack/stack repl --with-ghc intero --verbosity warn --fast --no-load --no-build --ghc-options -v1 --terminal --no-package-hiding

Build of `haskell-docs`, `hlint` and `apply-refact` is finished
[global-stack-repl] Invalid option `--fast'
					Usage: stack repl [TARGET/FILE] [--ghci-options OPTION] [--with-ghc GHC]
					[--[no-]load] [--package ARG] [--main-is TARGET]
					[--load-local-deps] [--[no-]package-hiding] [--trace]
					[--profile] [--[no-]test] [--[no-]bench] [--help]
					Run ghci in the context of package(s) (experimental) (alias for 'ghci')

When I try the command from a command line the error is the same. Thanks for any tips.

I read info here about building intero, so I tried in project directory too:

$ stack build intero
Fetching package index ...remote: Counting objects: 824691, done.
remote: Compressing objects: 100% (108/108), done.
remote: Total 824691 (delta 30), reused 0 (delta 0), pack-reused 824579
Receiving objects: 100% (824691/824691), 205.95 MiB | 505.00 KiB/s, done.
Resolving deltas: 100% (348722/348722), done.
From https://github.com/commercialhaskell/all-cabal-hashes
 * [new branch]      display    -> origin/display
 * [new branch]      hackage    -> origin/hackage
 * [new tag]         current-hackage -> current-hackage
Fetched package index.    
Populated index cache. 
$

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:19 (12 by maintainers)

github_iconTop GitHub Comments

1reaction
rikvdkleijcommented, Dec 27, 2016

It’s released. It should be (soon) visible in Plugins.

0reactions
dvorakacommented, Dec 27, 2016

I reimport the project and everything is fine. The trouble was while rebuilding the database it found my testing project and it is probably a bit broken from Hoogle’s perspective. So no problem with rebuilding but in rebuilding and with my project 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

[global-stack-repl] Stack REPL couldn't be started within 30 ...
Take a look to Haskell Event log to see what's going wrong. ... -v1 --ghc-options -fobject-code 1:49 AM [global-stack-repl] Stack REPL ...
Read more >
npm run dev fails : ValidationError: Invalid options object
Copy Plugin has been initialized using an options object that does not match the API schema. - options[0] misses the property 'patterns'.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found