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

not working after update #9

Closed
paulous opened this issue Sep 8, 2023 · 3 comments
Closed

not working after update #9

paulous opened this issue Sep 8, 2023 · 3 comments

Comments

@paulous
Copy link

paulous commented Sep 8, 2023

I am getting this error after updating:
Stderr:

.mops/map@9.0.0/src/Map/modules/rehash.mo:3.82-3.94: type error [M0119], object field nat32ToNat64 is not contained in expected type
  module {}

thanks!

@ZhenyaUsenko
Copy link
Owner

Hi. Map v9 requires the latest Motoko Compiler (v0.9.8)
https://github.com/dfinity/motoko/releases/tag/0.9.8

@ZhenyaUsenko
Copy link
Owner

If you are using vessel, use the next config

{
  dependencies = [
    ...
  ],
  compiler = Some "0.9.8",
}

And then deploy with

DFX_MOC_PATH=$(vessel bin)/moc dfx deploy

@paulous
Copy link
Author

paulous commented Sep 9, 2023

Ok thanks! I am using dfx 0.14.4 . I am just experimenting with stuff and not too deep into it, so I guess I will have to wait until the motoko compiler is updated maybe.

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