Skip to content

Error while installing codeworld-api

C:\Users\****>cabal install codeworld-api
Resolving dependencies...
Configuring codeworld-api-0.2.1.0...
Building codeworld-api-0.2.1.0...
Failed to install codeworld-api-0.2.1.0
Build log ( C:\Users\****\AppData\Roaming\cabal\logs\ghc-8.2.1\codeworld-api-0.2.1.0-FP1wjOCq6YC5GIs4ve2sRp.log ):
Preprocessing library for codeworld-api-0.2.1.0..
Building library for codeworld-api-0.2.1.0..
[1 of 6] Compiling CodeWorld.Color  ( src\CodeWorld\Color.hs, dist\build\CodeWorld\Color.o )
[2 of 6] Compiling CodeWorld.Picture ( src\CodeWorld\Picture.hs, dist\build\CodeWorld\Picture.o )
[3 of 6] Compiling CodeWorld.Event  ( src\CodeWorld\Event.hs, dist\build\CodeWorld\Event.o )
[4 of 6] Compiling CodeWorld.CollaborationUI ( src\CodeWorld\CollaborationUI.hs, dist\build\CodeWorld\CollaborationUI.o )
ghc.exe: panic! (the 'impossible' happened)
  (GHC version 8.2.1 for x86_64-unknown-mingw32):
        runtimeRepPrimRep
  typePrimRep (r_abQP :: TYPE rep_abQO)
  rep_abQO
  Call stack:
      CallStack (from HasCallStack):
        prettyCurrentCallStack, called at compiler\utils\Outputable.hs:1133:58 in ghc:Outputable
        callStackDoc, called at compiler\utils\Outputable.hs:1137:37 in ghc:Outputable
        pprPanic, called at compiler\simplStg\RepType.hs:360:5 in ghc:RepType

Please report this as a GHC bug:  http://www.haskell.org/ghc/reportabug

cabal: Leaving directory 'C:\Users\****\AppData\Local\Temp\cabal-tmp-5456\codeworld-api-0.2.1.0'
cabal: Error: some packages failed to install:
codeworld-api-0.2.1.0-FP1wjOCq6YC5GIs4ve2sRp failed during the building phase.
The exception was:
ExitFailure 1
Edited by Ryan Scott
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information