Skip to content

example won't compile #21

@ashgaliyev

Description

@ashgaliyev
andreyash@MacBook-Pro-Andrey frontend (master) $ rm -rf bower_components/purescript-functors
andreyash@MacBook-Pro-Andrey frontend (master) $ rm -rf bower_components/purescript-newtype
andreyash@MacBook-Pro-Andrey frontend (master) $ pulp browserify --to dist/app.js
* Browserifying project in /Users/andreyash/Development/purescript/servant-purescript/examples/central-counter/frontend
* Building project in /Users/andreyash/Development/purescript/servant-purescript/examples/central-counter/frontend
Compiling Counter.WebAPI
Error found:
in module Counter.WebAPI
at /Users/andreyash/Development/purescript/servant-purescript/examples/central-counter/frontend/src/Counter/WebAPI.purs line 8, column 41 - line 8, column 55

  Cannot import type class MonadAsk from module Control.Monad.Reader.Class
  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.


* ERROR: Subcommand terminated with exit code 1

andreyash@MacBook-Pro-Andrey frontend (master) $ node --version
v6.9.5
andreyash@MacBook-Pro-Andrey frontend (master) $ psc --version
0.9.3

MonadAsk exists starting from v2.0.0 of purescript-transformers. But in resolutions sections it is v1.0.0.
If I try to change version to 2, a lot of other errors appears.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions