Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught (in promise) Error: spawn UNKNOWN #36

Open
freeman42x opened this issue Dec 3, 2018 · 2 comments
Open

Uncaught (in promise) Error: spawn UNKNOWN #36

freeman42x opened this issue Dec 3, 2018 · 2 comments

Comments

@freeman42x
Copy link
Contributor

HIE does not start, instead the following error is printed in the developer console:

Uncaught (in promise) Error: spawn UNKNOWN
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:514:9)
at HaskellLanguageClient.spawnServer (C:\Users\Razvan.atom\packages\ide-haskell-hie\lib\ide-haskell-hie.js:94:36)
at HaskellLanguageClient.startServerProcess (C:\Users\Razvan.atom\packages\ide-haskell-hie\lib\ide-haskell-hie.js:27:17)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:191)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at process.reportBusyWhile (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:132)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:56:29)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.AutoLanguageClient.reportBusyWhileDefault (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:52:53)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:49:29)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.AutoLanguageClient.reportBusyWhile (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:44:46)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:40)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.startServer (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:254:16)
at ServerManager._serverManager.server_manager_js_1.ServerManager [as _startServer] (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:220:81)
util.js:1024 Uncaught (in promise) Error: spawn UNKNOWN
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:514:9)
at HaskellLanguageClient.spawnServer (C:\Users\Razvan.atom\packages\ide-haskell-hie\lib\ide-haskell-hie.js:94:36)
at HaskellLanguageClient.startServerProcess (C:\Users\Razvan.atom\packages\ide-haskell-hie\lib\ide-haskell-hie.js:27:17)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:191)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at process.reportBusyWhile (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:132)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:56:29)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.AutoLanguageClient.reportBusyWhileDefault (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:52:53)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:49:29)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.AutoLanguageClient.reportBusyWhile (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:44:46)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:40)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.startServer (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:254:16)
at ServerManager._serverManager.server_manager_js_1.ServerManager [as _startServer] (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:220:81)
util.js:1024 Uncaught (in promise) Error: spawn UNKNOWN
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:514:9)
at HaskellLanguageClient.spawnServer (C:\Users\Razvan.atom\packages\ide-haskell-hie\lib\ide-haskell-hie.js:94:36)
at HaskellLanguageClient.startServerProcess (C:\Users\Razvan.atom\packages\ide-haskell-hie\lib\ide-haskell-hie.js:27:17)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:191)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at process.reportBusyWhile (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:132)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:56:29)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.AutoLanguageClient.reportBusyWhileDefault (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:52:53)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:49:29)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.AutoLanguageClient.reportBusyWhile (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:44:46)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:40)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.startServer (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:254:16)
at ServerManager._serverManager.server_manager_js_1.ServerManager [as _startServer] (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:220:81)
util.js:1024 Uncaught (in promise) Error: spawn UNKNOWN
at _errnoException (util.js:1024:11)
at ChildProcess.spawn (internal/child_process.js:323:11)
at Object.exports.spawn (child_process.js:514:9)
at HaskellLanguageClient.spawnServer (C:\Users\Razvan.atom\packages\ide-haskell-hie\lib\ide-haskell-hie.js:94:36)
at HaskellLanguageClient.startServerProcess (C:\Users\Razvan.atom\packages\ide-haskell-hie\lib\ide-haskell-hie.js:27:17)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:191)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at process.reportBusyWhile (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:132)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:56:29)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.AutoLanguageClient.reportBusyWhileDefault (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:52:53)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:49:29)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.AutoLanguageClient.reportBusyWhile (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:44:46)
at HaskellLanguageClient. (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:255:40)
at Generator.next ()
at C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:7:71
at new Promise ()
at __awaiter (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:3:12)
at HaskellLanguageClient.startServer (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:254:16)
at ServerManager._serverManager.server_manager_js_1.ServerManager [as _startServer] (C:\Users\Razvan.atom\packages\ide-haskell-hie\node_modules\atom-languageclient\build\lib\auto-languageclient.js:220:81)

I am using HIE on Windows set up with the wrapper powershell script.
HIE version: Version 0.4.0.1, Git revision 7e0b19721872d1c8e44f49484ac75f6c61412349 (2220 commits) x86_64 ghc-8.4.4

@patrickaldis
Copy link

Hi, did you find a solution to this? Am having the same problem.

@freeman42x
Copy link
Contributor Author

@patrickaldis See: #38

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants