nwolverson / purescript-ide-purescript-core

Deprecated, to be deleted
MIT License
11 stars 1 forks source link

Multiple psc-ide-server executables #5

Closed pelotom closed 6 years ago

pelotom commented 7 years ago

I'm getting this error:

Found multiple psc-ide-server executables; using /usr/local/bin/psc-ide-server

But it's not clear where it's finding the "other" executable? If I npm uninstall -g purescript then it doesn't find any.

nwolverson commented 7 years ago

Hmm, I thought it should list them - which editor are you using this from? This is basically the result of a which (using node-which), so maybe something is throwing it off

pelotom commented 7 years ago

Atom

nwolverson commented 7 years ago

To be clear that's a warning not an error, if that's the executable you expect then you can ignore it. But there should be a list of all candidates logged if you look at the dev console:

https://github.com/nwolverson/purescript-ide-purescript-core/blob/a463a739ccab97572d8802a7dd567c14baa04e94/src/IdePurescript/PscIdeServer.purs#L90

pelotom commented 7 years ago

It appears it's finding the same executable 3 times:

screen shot 2016-12-05 at 10 23 21 am

nwolverson commented 6 years ago

Did anyone else ever see this? I'm imagining this is the result of a PATH containing duplicate entries.

nwolverson commented 6 years ago

Closing due to lack of activity, I assume it's the duplicate PATH entry I suggested.