So I've been using Prelude and such for some time and now after installing Purescript-Rx which I suppose depends on Purescript-Control I get these errors. What baffles me most is that I do not understand why it cant see Prelude because minutes ago I successfully imported it with other libs.
[1/4 UnknownModule] bower_components\purescript-control\src\Control\Alt.purs:6:1
6 import Data.Functor (class Functor, map, void, ($>), (<#>), (<$), (<$>))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
Unknown module Data.Functor
[2/4 UnknownModule] bower_components\purescript-control\src\Control\Extend.purs:9:1
v
9 import Control.Category (id)
10
^
Unknown module Control.Category
[3/4 UnknownModule] bower_components\purescript-control\src\Control\Lazy.purs:3:1
v
3 import Data.Unit (Unit)
4
^
Unknown module Data.Unit
{
"name": "front-ps",
"version": "1.0.0",
"moduleType": [
"node"
],
"ignore": [
"**/.*",
"node_modules",
"bower_components",
"output"
],
"dependencies": {
"purescript-console": "^0.1.1",
"purescript-eff": "^1.0.0-rc.1",
"purescript-prelude": "^1.0.0-rc.3",
"purescript-functions": "^1.0.0-rc.1",
"purescript-maybe": "^1.0.0-rc.2",
"purescript-rx": "^0.8.2"
},
"resolutions": {
"purescript-prelude": "^1.0.0-rc.3",
"purescript-maybe": "^1.0.0-rc.2",
"purescript-monoid": "^1.0.0-rc.2",
"purescript-control": "^1.0.0-rc.1",
"purescript-invariant": "^1.0.0-rc.1",
"purescript-console": "^1.0.0-rc.1",
"purescript-eff": "^1.0.0-rc.1",
"purescript-functions": "^1.0.0-rc.1"
}
}