Open liiklin opened 7 years ago
I think I have the same problem but when running this on Windows. I have tried several different paths to point elm-oracle but neither works.
same problem on windows
I finally made it to work on Windows 10. I have installed elm-oracle an it has been added to PATH. Then I just add 'elm-oracle' in the setting field and it works now.
Still seems to be an issue on OSX using atom. Here is my stacktrace.
Error: No elm-oracle suggestions
at parseOutput ({/Users/{myusername}}atom/packages/language-elm/lib/elmOracle.js:125:11)
at provideSuggestions ({/Users/{myusername}}atom/packages/language-elm/lib/elmOracle.js:27:27)
at triggerExitCallback (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:215:47)
at /Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:222:18
at Socket.<anonymous> (/Applications/Atom.app/Contents/Resources/app.asar/src/buffered-process.js:100:18)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12)
My /user/local/bin already added to path, so not sure the Window's fix is a solution for me.
In case anyone missed this from the package readme:
Open up a terminal npm install -g elm-oracle which elm-oracle on Unix/Linux or where.exe elm-oracle on Windows Copy the path to elm-oracle Open up the language-elm settings in Atom Open up the Atom Settings / Preferences tab Click on "Packages" Find the "language-elm" package in the list Click "Settings" Paste the path into "The elm-oracle executable path" setting
[Enter steps to reproduce:]
Atom: 1.14.1 x64 Electron: 1.3.13 OS: Mac OS X 10.12.3 Thrown From: language-elm package 1.5.0
Uncaught Error: No elm-oracle suggestions
At /Users/{u}/.atom/packages/language-elm/lib/elmOracle.js:125
Error: No elm-oracle suggestions
at parseOutput (/packages/language-elm/lib/elmOracle.js:125:11)
at provideSuggestions (/packages/language-elm/lib/elmOracle.js:27:27)
at triggerExitCallback (/app.asar/src/buffered-process.js:303:11)
at /app.asar/src/buffered-process.js:316:11
at /app.asar/src/buffered-process.js:185:9)
at emitOne (events.js:101:20)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:493:12)
-5:12.7.0 editor:move-to-end-of-screen-line (input.hidden-input)
-5:12.3.0 core:backspace (input.hidden-input)
2x -5:12.1.0 core:save (input.hidden-input)
-4:21.9.0 core:move-right (input.hidden-input)
3x -4:19.5.0 core:save (input.hidden-input)
-3:32.5.0 core:move-right (input.hidden-input)
-3:32.2.0 core:backspace (input.hidden-input)
-3:31.7.0 editor:move-to-end-of-screen-line (input.hidden-input)
2x -3:31.5.0 core:move-left (input.hidden-input)
3x -3:27 core:save (input.hidden-input)
3x -1:58.6.0 core:backspace (input.hidden-input)
2x -0:18.4.0 editor:newline (input.hidden-input)
-0:10.2.0 core:move-up (input.hidden-input)
2x -0:09.7.0 core:move-right (input.hidden-input)
-0:06.3.0 core:backspace (input.hidden-input)
-0:05.8.0 core:move-right (input.hidden-input)
autocomplete-modules 1.6.7
editorconfig 2.2.1
elm 0.1.0
elm-format 2.1.0
elmjutsu 4.0.0
go-debug 1.0.4
go-imports 0.1.1
go-outline 0.6.6
go-plus 5.1.1
go-signature-statusbar 1.2.0
go-tip 2.4.0
gpp-compiler 3.0.7
hyperclick 0.0.40
language-babel 2.54.1
language-elm 1.5.0
linter 1.11.23
linter-elm-make 0.22.2
linter-eslint 8.1.2
linter-gcc 0.7.1
linter-golint 0.3.0
linter-golinter 1.2.1
linter-js-standard 3.8.1
linter-js-standard-jsx 4.1.2
open-path 0.3.6
platformio-ide-terminal 2.2.3
[Enter steps to reproduce below:]
Atom Version: 1.10.2 Electron Version: 0.37.8 System: Mac OS X 10.11.5 Thrown From: language-elm package, v1.5.0
Stack Trace
Uncaught Error: No elm-oracle suggestions
Commands
Config
Installed Packages