Error when following general_repl_sanity_check.md
Closed this issue · 1 comments
haamoo7 commented
After doing howto_personal_windows.md, while following general_repl_sanity_check.md I get an error message after opening sumSqOdd.hs
Sorry if there is an obvious solution or this question is a silly one. I'm a total beginner :/
Thanks.
Error Report:
[Enter steps to reproduce:]
- ...
- ...
Atom: 1.20.1 x64
Electron: 1.6.9
OS: Microsoft Windows 10 Home Single Language
Thrown From: haskell-ghc-mod package 2.1.0
Stack Trace
Haskell-ghc-mod: ghc-mod failed to launch.
It is probably missing or misconfigured. ENOENT
At Error was: Error
spawn /c/Users/azmih/AppData/Roaming/cabal/bin/ghc-mod ENOENT
Debug information:
{
"dir": "C:\\Users\\azmih\\Downloads",
"err": {
"code": "ENOENT",
"errno": "ENOENT",
"syscall": "spawn /c/Users/azmih/AppData/Roaming/cabal/bin/ghc-mod",
"path": "/c/Users/azmih/AppData/Roaming/cabal/bin/ghc-mod",
"spawnargs": [
"version"
],
"cmd": "/c/Users/azmih/AppData/Roaming/cabal/bin/ghc-mod version"
},
"opts": {
"cwd": "C:\\Users\\azmih\\Downloads",
"env": {
"Path": "C:\\Program Files\\Haskell\\bin;C:\\Program Files\\Haskell Platform\\8.0.2-a\\lib\\extralibs\\bin;C:\\Program Files\\Haskell Platform\\8.0.2-a\\bin;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Haskell Platform\\8.0.2-a\\mingw\\bin;C:\\Users\\azmih\\AppData\\Roaming\\cabal\\bin;C:\\Users\\azmih\\AppData\\Local\\Microsoft\\WindowsApps",
"PATH": "C:\\Program Files\\Haskell\\bin;C:\\Program Files\\Haskell Platform\\8.0.2-a\\lib\\extralibs\\bin;C:\\Program Files\\Haskell Platform\\8.0.2-a\\bin;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Haskell Platform\\8.0.2-a\\mingw\\bin;C:\\Users\\azmih\\AppData\\Roaming\\cabal\\bin;C:\\Users\\azmih\\AppData\\Local\\Microsoft\\WindowsApps"
},
"encoding": "utf8",
"maxBuffer": null
}
}
Environment (filtered):
{
"Path": "C:\\Program Files\\Haskell\\bin;C:\\Program Files\\Haskell Platform\\8.0.2-a\\lib\\extralibs\\bin;C:\\Program Files\\Haskell Platform\\8.0.2-a\\bin;C:\\Program Files (x86)\\Intel\\iCLS Client\\;C:\\Program Files\\Intel\\iCLS Client\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files (x86)\\Skype\\Phone\\;C:\\Program Files\\Intel\\WiFi\\bin\\;C:\\Program Files\\Common Files\\Intel\\WirelessCommon\\;C:\\Program Files\\Git\\cmd;C:\\Program Files\\Haskell Platform\\8.0.2-a\\mingw\\bin;C:\\Users\\azmih\\AppData\\Roaming\\cabal\\bin;C:\\Users\\azmih\\AppData\\Local\\Microsoft\\WindowsApps"
}
Error
at CP.execFile (/packages/haskell-ghc-mod/lib/util.js:79:36)
at exithandler (child_process.js:230:5)
at ChildProcess.errorhandler (child_process.js:242:5)
at emitOne (events.js:96:13)
at ChildProcess.emit (events.js:188:7)
at Process.ChildProcess._handle.onexit (internal/child_process.js:213:12)
at onErrorNT (internal/child_process.js:359:16)
at _combinedTickCallback (internal/process/next_tick.js:74:11)
at process._tickCallback (internal/process/next_tick.js:98:9)
Commands
Non-Core Packages
autocomplete-haskell 1.0.1
haskell-ghc-mod 2.1.0
ide-haskell 2.1.1
ide-haskell-cabal 2.0.2
ide-haskell-repl 0.7.2
language-haskell 1.14.1
abrisan commented
Please re-follow windows instructions