【发布时间】:2016-11-10 17:13:44
【问题描述】:
我是 Purescript 的新手,正在按照教程进行安装。 Purescript 本身正在运行,我可以使用 pulp psci 启动 CLI,但安装 purescript-list 会遇到麻烦。
输入命令bower install purescript-lists --save 后,我得到一长串包名,但是当它到达purescript-eff 和purescript-prelude 时,我遇到了一些版本冲突:
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 to find a suitable version for purescript-eff, please choose one by typing one of the numbers below:
1) purescript-eff#^1.0.0 which resolved to 1.0.0 and is required by purescript-console#1.0.0
2) purescript-eff#^2.0.0 which resolved to 2.0.0 and is required by purescript-st#2.0.0
Prefix the choice with ! to persist it to bower.json
? Answer
purescript-prelude 显示了类似的消息。无论我选择哪个选项,pulp build 和 pulp run 都会失败:
$ pulp build
* Building project in /Developer/purescript/training1
Error found:
in module PSCI.Support
at /Developer/purescript/training1/bower_components/purescript-psci-support/src/PSCI/Support.purs line 10, column 34 - line 10, column 53
Cannot import value unsafeInterleaveEff from module Control.Monad.Eff.Unsafe
It either does not exist or the module does not export it.
See https://github.com/purescript/purescript/wiki/Error-Code-UnknownImport for more information,
or to contribute content related to this error.
Compiling PSCI.Support
* ERROR: Subcommand terminated with exit code 1
我在这里错过了什么?
谢谢
克里斯·W
【问题讨论】:
标签: purescript