Error installing purescript-list -
i'm new purescript , following tutorial installation. purescript working , can start cli using pulp psci
, installing purescript-list
runs trouble.
having entered command bower install purescript-lists --save
, long list of package names, when gets purescript-eff
, purescript-prelude
run version conflicts:
bower purescript-eff#^2.0.0 cached https://github.com/purescript/purescript-eff.git#2.0.0 bower purescript-eff#^2.0.0 validate 2.0.0 against https://github.com/purescript/purescript-eff.git#^2.0.0 unable find suitable version purescript-eff, please choose 1 typing 1 of numbers below: 1) purescript-eff#^1.0.0 resolved 1.0.0 , required purescript-console#1.0.0 2) purescript-eff#^2.0.0 resolved 2.0.0 , required purescript-st#2.0.0 prefix choice ! persist bower.json ? answer
a similar message shown purescript-prelude
. no matter options choose, both pulp build
, pulp run
fail with:
$ pulp build * building project in /developer/purescript/training1 error found: in module psci.support @ /developer/purescript/training1/bower_components/purescript-psci-support/src/psci/support.purs line 10, column 34 - line 10, column 53 cannot import value unsafeinterleaveeff module control.monad.eff.unsafe either not exist or module not export it. see https://github.com/purescript/purescript/wiki/error-code-unknownimport more information, or contribute content related error. compiling psci.support * error: subcommand terminated exit code 1
what have missed here?
thanks
chris w
if using psc version 0.10.* should go prelude, lists , eff v2*. if using psc version 0.9.* should go prelude, lists , eff v1*.
if using psc 0.10.* might want update pulp version 9.1.0
the problem occurs due breaking changes between psc 0.9 , 0.10 , relevant libraries. writing bower install purescript-lists --save
asking bower latest dependencies conflict dependency versions specified in bower.json
.
Comments
Post a Comment