-
Notifications
You must be signed in to change notification settings - Fork 26
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
'packedFileDescriptor' is not a (visible) method of class 'Data.ProtoLens.Message' #80
Comments
Hello @hughjfchen this project is designed to be build with stack rather than cabal-install. I think using stack will resolve the issue you're having by using compatible dependencies from stackage snapshot. I know that compile times using cabal-install are much faster than using stack but internally we're using stack so that is the build tool we officially support. You can also refer to stack.yaml if you don't wish to use stack yourself but you'll need to resolve dependency versions on your own. If you want to check the versions of dependencies available on your system use |
Strange. There is no problem when I generated the |
I would also recommend checking out https://github.com/kowainik/cake-slayer which is the more fleshed out version of this approach |
@arbus , Thanks for your suggestion. I've just taken a rough look at the source files of |
When I tried
cabal new-repl
, I got the following errors:'packedFileDescriptor' is not a (visible) method of class 'Data.ProtoLens.Message'
. I checked theproto-lens
package and this method is at version 0.7.0.0, but I use 'proto-lens' 0.5.0.0. I don't know why it generated the haskell source for 'proto-lens` 0.7.0.0The text was updated successfully, but these errors were encountered: