mops add core
moc version does not meet the requirements of core@2.0.0
Required: >= 1.0.0
Installed: 0.16.2
happened after i upgrade my dfx to v0.30.1
should i go back to previous version?
mops add core
moc version does not meet the requirements of core@2.0.0
Required: >= 1.0.0
Installed: 0.16.2
happened after i upgrade my dfx to v0.30.1
should i go back to previous version?
Are you using a mops.toml file? Using mops should fix this.
If you have this in your dfx.json
"defaults": {
"build": {
"packtool": "mops sources"
}
},
and this in your mops.toml
[dependencies]
core = "2.0.0"
[toolchain]
moc = "1.0.0"
then it should work regardless of what moc version dfx bundles with.
ok I’ll try this when i get home. thanks for your time, timo