codeworld icon indicating copy to clipboard operation
codeworld copied to clipboard

codeworld doesn't install on ghc 9.6.3

Open GeorgeCo opened this issue 2 years ago • 1 comments

ghc --version The Glorious Glasgow Haskell Compilation System, version 9.6.3 cabal install --lib codeworld-api Resolving dependencies... Error: cabal: Could not resolve dependencies: [__0] next goal: base (user goal) [__0] rejecting: base-4.19.0.0 (constraint from user target requires ==4.18.1.0) [__0] trying: base-4.18.1.0/installed-4.18.1.0 [__1] next goal: blank-canvas (user goal) [__1] rejecting: blank-canvas-0.7.4/installed-156550ab (package is broken, missing dependency sn-2.2.1.0-47c7f308) [__1] trying: blank-canvas-0.7.4 [__2] trying: aeson-2.2.1.0 (dependency of blank-canvas) [__3] trying: bytestring-0.12.0.2/installed-7ba28044 (user goal) [__4] next goal: codeworld-api (user goal) [__4] rejecting: codeworld-api-0.8.1 (conflict: aeson==2.2.1.0, codeworld-api => aeson>=1.4.3 && <2.2) [__4] skipping: codeworld-api-0.8.0, codeworld-api-0.7.0, codeworld-api-0.6.0, codeworld-api-0.5.0, codeworld-api-0.4.0 (has the same characteristics that caused the previous version to fail: excludes 'aeson' version 2.2.1.0) [__4] rejecting: codeworld-api-0.3.1 (conflict: blank-canvas==0.7.4, codeworld-api => blank-canvas>=0.6 && <0.7) [__4] skipping: codeworld-api-0.3, codeworld-api-0.2.5, codeworld-api-0.2.4, codeworld-api-0.2.3, codeworld-api-0.2.2.1, codeworld-api-0.2.2.0, codeworld-api-0.2.1.0 (has the same characteristics that caused the previous version to fail: excludes 'blank-canvas' version 0.7.4) [__4] rejecting: codeworld-api-0.2.0.0 (conflict: base==4.18.1.0/installed-4.18.1.0, codeworld-api => base>=4.8 && <4.11) [__4] skipping: codeworld-api-0.1.0.1 (has the same characteristics that caused the previous version to fail: excludes 'base' version 4.18.1.0) [__4] fail (backjumping, conflict set: aeson, base, blank-canvas, codeworld-api) After searching the rest of the dependency tree exhaustively, these were the goals I've had most trouble fulfilling: bytestring, aeson, blank-canvas, base, codeworld-api Try running with --minimize-conflict-set to improve the error message.

GeorgeCo avatar Dec 05 '23 12:12 GeorgeCo

This has been fixed now, just clone the current code install, build and run the codeworld if there any issues please mention it here

Alphamoris avatar Feb 16 '25 17:02 Alphamoris