Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

example won't compile #21

Open
ashgaliyev opened this issue Feb 8, 2017 · 1 comment
Open

example won't compile #21

ashgaliyev opened this issue Feb 8, 2017 · 1 comment

Comments

@ashgaliyev
Copy link

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.

@eskimor
Copy link
Owner

eskimor commented Feb 8, 2017

Thanks! I was afraid that this is a new feature, that's why I made no release yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants