I suddenly started getting the above error, when building the GHCJS part of a multi-package project, using stack. It shows up whether ghcjs is specified as the compiler in stack.yaml, or if I try to compile with stack build --compiler ghcjs-0.2.0_ghc-7.10.3 $GHCJSPROJECTNAME. I've tried replacing .stack, the various .stack-work directories, building the GHCJS package as its own project, reinstalling ghcjs... the error persists.
Steps to reproduce:
Uncertain. Started abrubtly yesterday while traveling---stack was working fine previously. I now can't get the issue to _stop_ occurring, so it's hard to figure out how to get it to start.
Expected:
the ghcjs package builds normally.
Actual:
the following (verbose) error:
Version 1.1.2 x86_64 hpack-0.14.1
2016-07-10 18:57:47.516097: [debug] Checking for project config at: /home/graham/projects/CarnapPrime/stack.yaml @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Config src/Stack/Config.hs:811:9)
2016-07-10 18:57:47.516453: [debug] Loading project config file stack.yaml @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Config src/Stack/Config.hs:829:13)
2016-07-10 18:57:47.519578: [debug] Checking whether stack was built with libgmp4 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Config src/Stack/Config.hs:326:5)
2016-07-10 18:57:47.519753: [debug] Run process: ldd /usr/bin/stack @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:57:47.529657: [debug] Stack was not built with libgmp4 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Config src/Stack/Config.hs:330:14)
2016-07-10 18:57:47.530054: [debug] Trying to decode /home/graham/.stack/build-plan-cache/x86_64-linux/lts-6.6.cache @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)
2016-07-10 18:57:47.543519: [debug] Success decoding /home/graham/.stack/build-plan-cache/x86_64-linux/lts-6.6.cache @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:64:13)
2016-07-10 18:57:47.543684: [debug] Getting system compiler version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Setup src/Stack/Setup.hs:341:17)
2016-07-10 18:57:47.544180: [debug] Run process: ghcjs @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:57:47.593631: [debug] Asking GHCJS for its version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Setup.Installed src/Stack/Setup/Installed.hs:99:13)
2016-07-10 18:57:47.593811: [debug] Run process: ghcjs --version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:57:47.601249: [debug] Getting Cabal package version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.GhcPkg src/Stack/GhcPkg.hs:165:5)
2016-07-10 18:57:47.601369: [debug] Run process: ghcjs-pkg --no-user-package-db field --simple-output Cabal version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:57:47.620085: [debug] Resolving package entries @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Setup src/Stack/Setup.hs:221:5)
2016-07-10 18:57:47.620608: [debug] Getting global package database location @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.GhcPkg src/Stack/GhcPkg.hs:48:5)
2016-07-10 18:57:47.620701: [debug] Run process: ghcjs-pkg --no-user-package-db list --global @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:57:47.669149: [debug] Run process: ghcjs-pkg --global --no-user-package-db dump --expand-pkgroot @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:57:47.722582: [warn] Ignoring that the GHCJS boot package "aeson" has a different version, 0.9.0.1, than the resolver's wanted version, 0.11.2.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.722727: [warn] Ignoring that the GHCJS boot package "attoparsec" has a different version, 0.13.0.1, than the resolver's wanted version, 0.13.0.2 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.722823: [warn] Ignoring that the GHCJS boot package "unordered-containers" has a different version, 0.2.5.1, than the resolver's wanted version, 0.2.7.1 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.722921: [warn] Ignoring that the GHCJS boot package "scientific" has a different version, 0.3.3.8, than the resolver's wanted version, 0.3.4.8 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723005: [warn] Ignoring that the GHCJS boot package "case-insensitive" has a different version, 1.2.0.4, than the resolver's wanted version, 1.2.0.6 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723137: [warn] Ignoring that the GHCJS boot package "hashable" has a different version, 1.2.3.2, than the resolver's wanted version, 1.2.4.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723208: [warn] Ignoring that the GHCJS boot package "async" has a different version, 2.0.1.6, than the resolver's wanted version, 2.1.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723295: [warn] Ignoring that the GHCJS boot package "text" has a different version, 1.2.1.1, than the resolver's wanted version, 1.2.2.1 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723365: [warn] Ignoring that the GHCJS boot package "syb" has a different version, 0.5.1, than the resolver's wanted version, 0.6 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723427: [warn] Ignoring that the GHCJS boot package "stm" has a different version, 2.4.4, than the resolver's wanted version, 2.4.4.1 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723490: [warn] Ignoring that the GHCJS boot package "parallel" has a different version, 3.2.0.6, than the resolver's wanted version, 3.2.1.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723581: [warn] Ignoring that the GHCJS boot package "dlist" has a different version, 0.7.1.1, than the resolver's wanted version, 0.7.1.2 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723763: [warn] Ignoring that the GHCJS boot package "pretty" has a different version, 1.1.3.2, than the resolver's wanted version, 1.1.2.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723829: [warn] Ignoring that the GHCJS boot package "containers" has a different version, 0.5.6.3, than the resolver's wanted version, 0.5.6.2 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.723913: [warn] Ignoring that the GHCJS boot package "transformers" has a different version, 0.4.3.0, than the resolver's wanted version, 0.4.2.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:57:47.724026: [debug] Run process: ghcjs-pkg --user --no-user-package-db --package-db /home/graham/.stack/snapshots/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb dump --expand-pkgroot @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:57:47.744176: [debug] Run process: ghcjs-pkg --user --no-user-package-db --package-db /home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb dump --expand-pkgroot @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:57:47.765169: [debug] Getting global package database location @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.GhcPkg src/Stack/GhcPkg.hs:48:5)
2016-07-10 18:57:47.765338: [debug] Run process: ghcjs-pkg --no-user-package-db list --global @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:57:47.786245: [info] Carnap-0.1.0.0: configure @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Execute src/Stack/Build/Execute.hs:731:23)
2016-07-10 18:57:47.786625: [debug] Run process: /home/graham/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.22.8.0-ghcjs-0.2.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.8.0_ghcjs configure --with-ghc=/home/graham/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --with-ghc-pkg=/home/graham/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --with-ghcjs=/home/graham/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs --with-ghcjs-pkg=/home/graham/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs-pkg --user --package-db=clear --package-db=global --package-db=/home/graham/.stack/snapshots/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb --package-db=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb --libdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/lib --bindir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/bin --datadir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/share --libexecdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/libexec --sysconfdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/etc --docdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --htmldir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --haddockdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --dependency=base=base-4.8.0.0-b9e000fb6d6d99911bd8359d1b255fbf --dependency=containers=containers-0.5.6.3-51794c2f2492434672b4c3fafda3f916 --dependency=lens=lens-4.13-da963e7f34581a6a6d298e4bee3295c3 --dependency=mtl=mtl-2.2.1-4907c4f5756261215301172cbc277371 --dependency=parsec=parsec-3.1.11-eb7ccdd45bd4129afa3dbfbbbe48ae0a --ghcjs --enable-tests --enable-benchmarks @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:301:3)
Progress: 1/2
-- While building package Carnap-0.1.0.0 using:
/home/graham/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.22.8.0-ghcjs-0.2.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.8.0_ghcjs configure --with-ghc=/home/graham/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --with-ghc-pkg=/home/graham/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --with-ghcjs=/home/graham/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs --with-ghcjs-pkg=/home/graham/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs-pkg --user --package-db=clear --package-db=global --package-db=/home/graham/.stack/snapshots/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb --package-db=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb --libdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/lib --bindir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/bin --datadir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/share --libexecdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/libexec --sysconfdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/etc --docdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --htmldir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --haddockdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --dependency=base=base-4.8.0.0-b9e000fb6d6d99911bd8359d1b255fbf --dependency=containers=containers-0.5.6.3-51794c2f2492434672b4c3fafda3f916 --dependency=lens=lens-4.13-da963e7f34581a6a6d298e4bee3295c3 --dependency=mtl=mtl-2.2.1-4907c4f5756261215301172cbc277371 --dependency=parsec=parsec-3.1.11-eb7ccdd45bd4129afa3dbfbbbe48ae0a --ghcjs --enable-tests --enable-benchmarks
Process exited with code: ExitFailure 1
Logs have been written to: /home/graham/projects/CarnapPrime/.stack-work/logs/Carnap-0.1.0.0.log
Configuring Carnap-0.1.0.0...
setup-Simple-Cabal-1.22.8.0-ghcjs-0.2.0_ghc-7.10.3:
.stack-work/dist/x86_64-linux/Cabal-1.22.8.0_ghcjs/: does not exist
and no build. The following (verbose) error occurs when I try to build just the library that the package depends on, using stack build --compiler ghcjs-0.2.0_ghc-7.10.3
Version 1.1.2 x86_64 hpack-0.14.1
2016-07-10 18:58:56.902777: [debug] Checking for project config at: /home/graham/projects/CarnapPrime/stack.yaml @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Config src/Stack/Config.hs:811:9)
2016-07-10 18:58:56.903034: [debug] Loading project config file stack.yaml @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Config src/Stack/Config.hs:829:13)
2016-07-10 18:58:56.904775: [debug] Checking whether stack was built with libgmp4 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Config src/Stack/Config.hs:326:5)
2016-07-10 18:58:56.904875: [debug] Run process: ldd /usr/bin/stack @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:58:56.910981: [debug] Stack was not built with libgmp4 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Config src/Stack/Config.hs:330:14)
2016-07-10 18:58:56.911402: [debug] Trying to decode /home/graham/.stack/build-plan-cache/x86_64-linux/lts-6.6.cache @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:55:5)
2016-07-10 18:58:56.925650: [debug] Success decoding /home/graham/.stack/build-plan-cache/x86_64-linux/lts-6.6.cache @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Data.Binary.VersionTagged src/Data/Binary/VersionTagged.hs:64:13)
2016-07-10 18:58:56.925812: [debug] Getting system compiler version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Setup src/Stack/Setup.hs:341:17)
2016-07-10 18:58:56.926293: [debug] Run process: ghcjs @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:58:56.971331: [debug] Asking GHCJS for its version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Setup.Installed src/Stack/Setup/Installed.hs:99:13)
2016-07-10 18:58:56.971500: [debug] Run process: ghcjs --version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:58:56.977929: [debug] Getting Cabal package version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.GhcPkg src/Stack/GhcPkg.hs:165:5)
2016-07-10 18:58:56.978050: [debug] Run process: ghcjs-pkg --no-user-package-db field --simple-output Cabal version @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:58:56.996741: [debug] Resolving package entries @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Setup src/Stack/Setup.hs:221:5)
2016-07-10 18:58:56.997278: [debug] Getting global package database location @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.GhcPkg src/Stack/GhcPkg.hs:48:5)
2016-07-10 18:58:56.997360: [debug] Run process: ghcjs-pkg --no-user-package-db list --global @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:58:57.045235: [debug] Run process: ghcjs-pkg --global --no-user-package-db dump --expand-pkgroot @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:58:57.106420: [warn] Ignoring that the GHCJS boot package "aeson" has a different version, 0.9.0.1, than the resolver's wanted version, 0.11.2.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.106632: [warn] Ignoring that the GHCJS boot package "attoparsec" has a different version, 0.13.0.1, than the resolver's wanted version, 0.13.0.2 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.106721: [warn] Ignoring that the GHCJS boot package "unordered-containers" has a different version, 0.2.5.1, than the resolver's wanted version, 0.2.7.1 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.106785: [warn] Ignoring that the GHCJS boot package "scientific" has a different version, 0.3.3.8, than the resolver's wanted version, 0.3.4.8 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.106906: [warn] Ignoring that the GHCJS boot package "case-insensitive" has a different version, 1.2.0.4, than the resolver's wanted version, 1.2.0.6 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.106976: [warn] Ignoring that the GHCJS boot package "hashable" has a different version, 1.2.3.2, than the resolver's wanted version, 1.2.4.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107037: [warn] Ignoring that the GHCJS boot package "async" has a different version, 2.0.1.6, than the resolver's wanted version, 2.1.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107106: [warn] Ignoring that the GHCJS boot package "text" has a different version, 1.2.1.1, than the resolver's wanted version, 1.2.2.1 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107162: [warn] Ignoring that the GHCJS boot package "syb" has a different version, 0.5.1, than the resolver's wanted version, 0.6 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107219: [warn] Ignoring that the GHCJS boot package "stm" has a different version, 2.4.4, than the resolver's wanted version, 2.4.4.1 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107278: [warn] Ignoring that the GHCJS boot package "parallel" has a different version, 3.2.0.6, than the resolver's wanted version, 3.2.1.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107406: [warn] Ignoring that the GHCJS boot package "dlist" has a different version, 0.7.1.1, than the resolver's wanted version, 0.7.1.2 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107547: [warn] Ignoring that the GHCJS boot package "pretty" has a different version, 1.1.3.2, than the resolver's wanted version, 1.1.2.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107607: [warn] Ignoring that the GHCJS boot package "containers" has a different version, 0.5.6.3, than the resolver's wanted version, 0.5.6.2 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107687: [warn] Ignoring that the GHCJS boot package "transformers" has a different version, 0.4.3.0, than the resolver's wanted version, 0.4.2.0 @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Installed src/Stack/Build/Installed.hs:179:9)
2016-07-10 18:58:57.107796: [debug] Run process: ghcjs-pkg --user --no-user-package-db --package-db /home/graham/.stack/snapshots/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb dump --expand-pkgroot @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:58:57.126815: [debug] Run process: ghcjs-pkg --user --no-user-package-db --package-db /home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb dump --expand-pkgroot @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:58:57.148566: [debug] Getting global package database location @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.GhcPkg src/Stack/GhcPkg.hs:48:5)
2016-07-10 18:58:57.148674: [debug] Run process: ghcjs-pkg --no-user-package-db list --global @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:58:57.170380: [info] Carnap-0.1.0.0: configure @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Execute src/Stack/Build/Execute.hs:731:23)
2016-07-10 18:58:57.170664: [debug] Run process: /home/graham/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.22.8.0-ghcjs-0.2.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.8.0_ghcjs configure --with-ghc=/home/graham/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --with-ghc-pkg=/home/graham/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --with-ghcjs=/home/graham/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs --with-ghcjs-pkg=/home/graham/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs-pkg --user --package-db=clear --package-db=global --package-db=/home/graham/.stack/snapshots/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb --package-db=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb --libdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/lib --bindir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/bin --datadir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/share --libexecdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/libexec --sysconfdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/etc --docdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --htmldir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --haddockdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --dependency=base=base-4.8.0.0-b9e000fb6d6d99911bd8359d1b255fbf --dependency=containers=containers-0.5.6.3-51794c2f2492434672b4c3fafda3f916 --dependency=lens=lens-4.13-da963e7f34581a6a6d298e4bee3295c3 --dependency=mtl=mtl-2.2.1-4907c4f5756261215301172cbc277371 --dependency=parsec=parsec-3.1.11-eb7ccdd45bd4129afa3dbfbbbe48ae0a --ghcjs --enable-tests --enable-benchmarks @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:System.Process.Read src/System/Process/Read.hs:283:3)
2016-07-10 18:59:01.527215: [info] Configuring Carnap-0.1.0.0... @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Execute src/Stack/Build/Execute.hs:911:67)
2016-07-10 18:59:01.537906: [warn] setup-Simple-Cabal-1.22.8.0-ghcjs-0.2.0_ghc-7.10.3: @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Execute src/Stack/Build/Execute.hs:911:67)
2016-07-10 18:59:01.545010: [warn] .stack-work/dist/x86_64-linux/Cabal-1.22.8.0_ghcjs/: does not exist @(stack-1.1.2-E7j2u8dvJq15OGUl9w7aBF:Stack.Build.Execute src/Stack/Build/Execute.hs:911:67)
-- While building package Carnap-0.1.0.0 using:
/home/graham/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.22.8.0-ghcjs-0.2.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.8.0_ghcjs configure --with-ghc=/home/graham/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc --with-ghc-pkg=/home/graham/.stack/programs/x86_64-linux/ghc-7.10.3/bin/ghc-pkg --with-ghcjs=/home/graham/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs --with-ghcjs-pkg=/home/graham/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs-pkg --user --package-db=clear --package-db=global --package-db=/home/graham/.stack/snapshots/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb --package-db=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/pkgdb --libdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/lib --bindir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/bin --datadir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/share --libexecdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/libexec --sysconfdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/etc --docdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --htmldir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --haddockdir=/home/graham/projects/CarnapPrime/.stack-work/install/x86_64-linux/lts-6.6/ghcjs-0.2.0_ghc-7.10.3/doc/Carnap-0.1.0.0 --dependency=base=base-4.8.0.0-b9e000fb6d6d99911bd8359d1b255fbf --dependency=containers=containers-0.5.6.3-51794c2f2492434672b4c3fafda3f916 --dependency=lens=lens-4.13-da963e7f34581a6a6d298e4bee3295c3 --dependency=mtl=mtl-2.2.1-4907c4f5756261215301172cbc277371 --dependency=parsec=parsec-3.1.11-eb7ccdd45bd4129afa3dbfbbbe48ae0a --ghcjs --enable-tests --enable-benchmarks
Process exited with code: ExitFailure 1
Here's the stack --version output: Version 1.1.2 x86_64 hpack-0.14.1
Version 1.1.2 x86_64 hpack-0.14.1
The official binaries for 1.1.2 were built with hpack-0.14.0 (at least my version is). Did you possibly recently build stack with cabal-install?
In any case, could you try building your project with an official bindist?
In any case, could you try building your project with an official bindist?
To be clear, I don't really expect that to fix the build issue, but it helps us rule out that the problem is due to a bad dependency in your version of stack.
Ok. This stack was just the one from the arch community repo. And it hasn't been updated since July 4th. But I'll see about trying another version.
As you expected, same results from stack with stack --version of Version 1.1.2, Git revision cebe10e845fed4420b6224d97dcabf20477bbd4b (3646 commits) x86_64 hpack-0.14.0
Additional information: the same error occurs when running stack build --compiler ghcjs-0.2.0_ghc-7.10.3 inside of a clean project produced by stack new ghcjs.
Any suggestions on what might need to be deleted or reinstalled to get stack working again would be very welcome.
I've managed to fix the problem by downgrading my community packages to the archived packages from 2016-07-05, and rebooting. So my guess would be that one of the programs upgraded in the last week on arch breaks something inside stack or cabal's ghcjs integration. Here's a list of what was downgraded:
[2016-07-11 10:26] [ALPM] downgraded e2fsprogs (1.43.1-1 -> 1.42.13-1)
[2016-07-11 10:26] [ALPM] downgraded gmp (6.1.1-1 -> 6.1.0-4)
[2016-07-11 10:26] [ALPM] downgraded gnutls (3.4.14-1 -> 3.4.13-1)
[2016-07-11 10:26] [ALPM] downgraded jsoncpp (1.7.3-2 -> 1.7.2-1)
[2016-07-11 10:26] [ALPM] downgraded libarchive (3.2.1-2 -> 3.2.1-1)
[2016-07-11 10:26] [ALPM] downgraded libirman (0.5.2-1 -> 0.4.6-1)
[2016-07-11 10:26] [ALPM] downgraded libmnl (1.0.4-1 -> 1.0.3-2)
[2016-07-11 10:26] [ALPM] downgraded lirc (1:0.9.4.a-1 -> 1:0.9.3.a-2)
[2016-07-11 10:26] [ALPM] downgraded mkinitcpio (20-1 -> 19-1)
[2016-07-11 10:26] [ALPM] downgraded mpd (0.19.17-1 -> 0.19.16-1)
[2016-07-11 10:26] [ALPM] downgraded mutt (1.6.2-1 -> 1.6.1-1)
[2016-07-11 10:26] [ALPM] downgraded nodejs (6.3.0-1 -> 6.2.2-1)
[2016-07-11 10:26] [ALPM] downgraded npm (3.10.5-1 -> 3.10.3-1)
[2016-07-11 10:26] [ALPM] downgraded openjpeg2 (2.1.1-1 -> 2.1.0-1)
[2016-07-11 10:26] [ALPM] downgraded python-psycopg2 (2.6.2-1 -> 2.6.1-2)
[2016-07-11 10:26] [ALPM] downgraded python-six (1.10.0-2 -> 1.10.0-1)
[2016-07-11 10:26] [ALPM] downgraded python2-six (1.10.0-2 -> 1.10.0-1)
I'll upgrade and see if I can reproduce later.
The culprit appears to be nodejs. Downgrading just that package to 6.2.2-1 causes the problem to disappear. Upgrading causes it to reappear. So:
Steps to Reproduce
On a system running nodejs 6.3,
stack new ghcjs
cd ghcjs
stack build --compiler ghcjs-0.2.0_ghc-7.10.3
I can reproduce this issue on Arch as well, and downgrading nodejs solves the problem (for now, at least).
Which node versions are broken? Feel free to add more info to this issue about checking node version - https://github.com/commercialhaskell/stack/issues/1632
I'm seeing similar issues on debian with nodejs v6.3.0
Installing the relevant nodejs v6.2.2 package for jessie from https://deb.nodesource.com/node_6.x/pool/main/n/nodejs/ seems to have resolved the issue.
I've been hit by the same issue. I'm wondering what could possible be the bug in Node to cause this problem.
IIRC last time I discussed this, there was already a patch for it on the GHC 8 branch of GHCJS. I think it got backported, but pretty recently so most ghcjs tarballs don't have the fix. Not sure if the fix was just working around the bug or not, or what.
Also, I can confirm that downgrading to Node 6.2.2 fixed the problem.
Node 6.4.0 fixes it as well.
This problem appears to be present with Node 6.6.0:
$ node -v
v6.6.0
$ stack new ghcjs
Downloading template "new-template" to create project "ghcjs" in ghcjs/ ...
Looking for .cabal or package.yaml files to use to init the project.
Using cabal packages:
- ghcjs/ghcjs.cabal
Selecting the best among 9 snapshots...
* Matches lts-7.1
Selected resolver: lts-7.1
Initialising configuration using resolver: lts-7.1
Total number of user packages considered: 1
Writing configuration to file: ghcjs/stack.yaml
All done.
$ cd ghcjs
$ stack build --compiler ghcjs-0.2.0_ghc-7.10.3
Ignoring that the GHCJS boot package "aeson" has a different version, 0.9.0.1, than the resolver's wanted version, 0.11.2.1
Ignoring that the GHCJS boot package "attoparsec" has a different version, 0.13.0.1, than the resolver's wanted version, 0.13.1.0
Ignoring that the GHCJS boot package "unordered-containers" has a different version, 0.2.5.1, than the resolver's wanted version, 0.2.7.1
Ignoring that the GHCJS boot package "scientific" has a different version, 0.3.3.8, than the resolver's wanted version, 0.3.4.9
Ignoring that the GHCJS boot package "case-insensitive" has a different version, 1.2.0.4, than the resolver's wanted version, 1.2.0.7
Ignoring that the GHCJS boot package "hashable" has a different version, 1.2.3.2, than the resolver's wanted version, 1.2.4.0
Ignoring that the GHCJS boot package "async" has a different version, 2.0.1.6, than the resolver's wanted version, 2.1.0
Ignoring that the GHCJS boot package "text" has a different version, 1.2.1.1, than the resolver's wanted version, 1.2.2.1
Ignoring that the GHCJS boot package "syb" has a different version, 0.5.1, than the resolver's wanted version, 0.6
Ignoring that the GHCJS boot package "stm" has a different version, 2.4.4, than the resolver's wanted version, 2.4.4.1
Ignoring that the GHCJS boot package "parallel" has a different version, 3.2.0.6, than the resolver's wanted version, 3.2.1.0
Ignoring that the GHCJS boot package "dlist" has a different version, 0.7.1.1, than the resolver's wanted version, 0.8.0.2
Ignoring that the GHCJS boot package "process" has a different version, 1.2.3.0, than the resolver's wanted version, 1.4.2.0
Ignoring that the GHCJS boot package "directory" has a different version, 1.2.2.0, than the resolver's wanted version, 1.2.6.2
Ignoring that the GHCJS boot package "time" has a different version, 1.5.0.1, than the resolver's wanted version, 1.6.0.1
Ignoring that the GHCJS boot package "filepath" has a different version, 1.4.0.0, than the resolver's wanted version, 1.4.1.0
Ignoring that the GHCJS boot package "binary" has a different version, 0.7.5.0, than the resolver's wanted version, 0.8.3.0
Ignoring that the GHCJS boot package "pretty" has a different version, 1.1.3.2, than the resolver's wanted version, 1.1.3.3
Ignoring that the GHCJS boot package "containers" has a different version, 0.5.6.3, than the resolver's wanted version, 0.5.7.1
Ignoring that the GHCJS boot package "bytestring" has a different version, 0.10.6.0, than the resolver's wanted version, 0.10.8.1
Ignoring that the GHCJS boot package "deepseq" has a different version, 1.4.1.1, than the resolver's wanted version, 1.4.2.0
Ignoring that the GHCJS boot package "transformers" has a different version, 0.4.3.0, than the resolver's wanted version, 0.5.2.0
Ignoring that the GHCJS boot package "array" has a different version, 0.5.1.0, than the resolver's wanted version, 0.5.1.1
ghcjs-0.1.0.0: configure
Configuring ghcjs-0.1.0.0...
setup-Simple-Cabal-1.22.8.0-ghcjs-0.2.0_ghc-7.10.3:
.stack-work/dist/x86_64-linux/Cabal-1.22.8.0_ghcjs/: does not exist
-- While building package ghcjs-0.1.0.0 using:
/home/jsk/.stack/setup-exe-cache/x86_64-linux/setup-Simple-Cabal-1.22.8.0-ghcjs-0.2.0_ghc-7.10.3 --builddir=.stack-work/dist/x86_64-linux/Cabal-1.22.8.0_ghcjs configure --with-ghc=/usr/bin/ghc --with-ghc-pkg=/usr/bin/ghc-pkg --with-ghcjs=/home/jsk/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs --with-ghcjs-pkg=/home/jsk/.stack/programs/x86_64-linux/ghcjs-0.2.0.20160414_ghc-7.10.3/bin/ghcjs-pkg --user --package-db=clear --package-db=global --package-db=/home/jsk/.stack/snapshots/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/pkgdb --package-db=/private/jsk/projects/current/ghcjs/.stack-work/install/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/pkgdb --libdir=/private/jsk/projects/current/ghcjs/.stack-work/install/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/lib --bindir=/private/jsk/projects/current/ghcjs/.stack-work/install/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/bin --datadir=/private/jsk/projects/current/ghcjs/.stack-work/install/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/share --libexecdir=/private/jsk/projects/current/ghcjs/.stack-work/install/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/libexec --sysconfdir=/private/jsk/projects/current/ghcjs/.stack-work/install/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/etc --docdir=/private/jsk/projects/current/ghcjs/.stack-work/install/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/doc/ghcjs-0.1.0.0 --htmldir=/private/jsk/projects/current/ghcjs/.stack-work/install/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/doc/ghcjs-0.1.0.0 --haddockdir=/private/jsk/projects/current/ghcjs/.stack-work/install/x86_64-linux/lts-7.1/ghcjs-0.2.0_ghc-7.10.3/doc/ghcjs-0.1.0.0 --dependency=base=base-4.8.0.0-b9e000fb6d6d99911bd8359d1b255fbf --ghcjs --enable-tests --enable-benchmarks
Process exited with code: ExitFailure 1
@jonathanknowles Is that with a recent ghcjs tarball? There were some fixes that address issues related to node.
Unfortunately there is no "official" package per resolver of ghcjs, the work to repack with the right versions it seems to produce good results: https://www.reddit.com/r/haskell/comments/54knub/ghcjs_dedupe/
E.g Ignoring that the GHCJS boot package "aeson" has a different version, 0.9.0.1, than the resolver's wanted version, 0.11.2.1 will be gone as the aeson used will be 0.11.2.1
@mgsloan I used the version specified in the Stack GHCJS Instructions, specifically:
$ cat stack.yaml
compiler: ghcjs-0.2.0.20160414_ghc-7.10.3
compiler-check: match-exact
setup-info:
ghcjs:
source:
ghcjs-0.2.0.20160414_ghc-7.10.3:
url: https://s3.amazonaws.com/ghcjs/ghcjs-0.2.0.20160414_ghc-7.10.3.tar.gz
sha1: 6d6f307503be9e94e0c96ef1308c7cf224d06be3
I managed to get my project building, but using a later version of GHCJS, and a higher resolver version (see https://github.com/commercialhaskell/stack/issues/2642#issuecomment-249789297.)
I confirm the same issue. Previously installed nodejs-6.7.0 caused same error, downgrading to nodejs-5.11.0 (which is highest version <=6.2.2 in Gentoo) solved the issue.
% stack --version
Version 1.2.0 x86_64 hpack-0.14.0
@s9gf4ult Could you say exactly what is the issue?
AFAIK, each time you would install new node you would need to "reboot" the ghcjs. I would like to know if any of the https://docs.haskellstack.org/en/stable/ghcjs/ instructions does not work for you.
Most helpful comment
The culprit appears to be
nodejs. Downgrading just that package to 6.2.2-1 causes the problem to disappear. Upgrading causes it to reappear. So:Steps to Reproduce
On a system running nodejs 6.3,
stack new ghcjscd ghcjsstack build --compiler ghcjs-0.2.0_ghc-7.10.3