Sublime Forum

Beginner problem: Backend config error, what to do?

#1

Hi, I’m using MacOS 10.15.4 and new download of ST. When running ST I get repeatedly this message:

Backend configuration: "Local hsdev"

Incompatible hsdev, detected version 0.0.0.0

Version should be ≥ 0.3.3.0 and < 0.3.4.0

I’m and old geezer trying to use ST to start learning Haskell, and am rather dense with ST and backend installation things, so all attempts at help are welcome. Thank you!

0 Likes

#2

P.S. I used Haskell platform to install Haskell.

And I have updated my Bash to the most recent vrsion, 5.0.18(1), if that means anything.

I have not found in ST any mention which version it is, but i downloaded it yesterday.

L

0 Likes

#3

That error is coming from a plugin you have installed. You can get the version of Sublime Text under the menu Sublime Text > About

0 Likes

#4

Thank you for your answer,

ST version is 3.2.2, Build 3211. (While the error msg was displaying the About menu choice was disabled, thus I did not see it earlier. sorry.)

The plugin must be the Haskell plugin. But what should I do to get rid of these messages?

L

0 Likes

#5

Which packages did you install? You can see the list of installed packages by running “Package Control: List Packages” from the Command Palette (accessible by pressing cmd+shift+P)

0 Likes

#6

Only Subime-Haskell is installed. v2.2.0; github.com/SublimeHaskell/Sublime Haskell it says.

0 Likes

#7

Any idea, how to fix this? Anyone?

L

0 Likes

#8

Hi @Libertinus, I don’t use that package personally. From what I can gather is that you need to install tooling around the Haskell language, like stack or cabal. Does that help? https://github.com/SublimeHaskell/SublimeHaskell#required-before-you-install-sublimehaskell

0 Likes

#9

Hi, @rwois,

I have Haskell platform installed, which was an ordeal. (Before Haskell platform installation I tried Haskell installation with stack several times and a pain in the butt it was, I never got it working.)

Now I have this Haskell platform installation working ok, and I’m not that eager to start messing with stack again.

What I mean, I’m an old geezer, and some things easier to other people - like using github - are quite a mystery to me.

In short, I’m not quite sure if I understand what you’re suggesting I ought to do. Sorry to be such a dense customer…

L

0 Likes

#10

I followed the link, and first uninstalled 8the relevant parts of) Sublime text. Then installed the backend. Then re-installed the SublimeHaskell.

Now I get this error message:

Backend configuration: "Remote hsdev@localhost:4567"

Incompatible hsdev, detected version 0.3.4.0

Version should be ≥ 0.3.3.0 and < 0.3.4.0

I am slowly going mad. Slowly but quite unavoidably…

L

0 Likes

#11

See https://stackoverflow.com/questions/64608187/trouble-installing-hsdev-on-windows-to-use-sublimehaskell-with-sublimetext

it looks like hsdev wasn’t installing with latest GHC as far back as 2018: github.com/mvoidex/hsdev/issues/91#issuecomment-419731848 and the project doesn’t look terribly active to me overall

mpickering.github.io/ide/posts/… looking at this article, hsdev isn’t even mentioned as a valid IDE plug-in anymore, so I’d recommend ditching it in favour of a newer plug-in, OR installing an older version using Stack, if you must

Note Sublime Text comes with Haskell syntax highlighting. Unless you’re specifically looking for advanced auto-complete you don’t need a package for this. In any case it looks like your options are to use a different package or an older version of Haskell.

0 Likes

#12

@bscaaf

Thank you!

It appears my best bet is just uninstall SublimeHaskell and go with “plain” Sublime text.

Do I need to uninstall hsdev? Do i need a newer IDE-plugin, and if so, which one would you recommend. My aim is just trying to teach myself Haskell, just to keep my my brain from rusting over too fast. :slight_smile:

L

0 Likes

#13

I don’t use Haskell, so I don’t have any recommendations. I’ve never found IDE-like functionality particularly useful and for learning I’d personally consider it a negative. If you do want IDE-like functionality a good thing to look at would be LSP.

1 Like

#14

@bscaaf,

Thank you for your insight!

I will make do without an IDE-plugin.

Cheers,

L

0 Likes