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

Error when adding to project #12

Open
seanhess opened this issue Jan 10, 2019 · 2 comments
Open

Error when adding to project #12

seanhess opened this issue Jan 10, 2019 · 2 comments

Comments

@seanhess
Copy link

Hi, this is a really great idea. I'd like to use it, but when I add it per the instructions I get the following error:

ghc: could not execute: requirepp

<no location info>: error:
    Could not load module ‘AccountStore.Account’
    It is a member of the hidden package ‘server-0.1.0.0’.
    You can run ‘:set -package server’ to expose it.
    (Note: this unloads all the modules in the current scope.)

This is on a project generated with stack new, using a package.yaml file instead of a cabal file. I haven't added any require statements yet.

@NickSeagull
Copy link
Contributor

Hi! Thanks for reaching out 😁

This is due to the fact that require is not on the PATH. Try installing it with stack install require and see if it works. It is very weird, as stack should do it when it is building the project.

Please tell how it goes! 😄

@NickSeagull
Copy link
Contributor

@seanhess how did this go? Did it work?

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

No branches or pull requests

2 participants