私はPurescriptを初めて使用しており、インストールのチュートリアルに従っています。 Purescript自体が動作しており、pulp psci
を使用してCLIを開始できますが、purescript-list
をインストールすると問題が発生します。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
* 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
私がここで見逃している何
:私は選択したオプションに関係なく、pulp build
とpulp run
の両方がで失敗しますか?
おかげ
クリスW
大変感謝しています。 'npm -g update pulp'は9.0.1にしかならなかったので、完全に削除して再インストールする必要がありました。 –