Midnight Kitties

Hi Midnight Community,

I need some help with yarn “kitties-cli-remote-ps”

I get the error “CompactError: Version mismatch: compiled code expects 0.9.0, runtime is 0.8.1” .
I made sure I have compact ver 0.25.0 installed.

2 Likes

@Jay-Albert is my go to for Midnight Kitties

1 Like

Check the package.json, I believe you need to make sure it has a dependency with the following version: "@midnight-ntwrk/compact-runtime": "^0.9.0"

3 Likes

Cheers,

I changed to “@midnight-ntwrk/compact-runtime”: “^0.9.0”, and run “yarn install”.
And like that it worked.

One strange thing that “yarn build” was executed before I changed package.json (was “@midnight-ntwrk/compact-runtime”: “^0.8.1”). Once I also run build with the change in place (0.9.0) I got the exact opposite message “CompactError: Version mismatch: compiled code expects 0.8.1, runtime is 0.9.0”

2 Likes

Gosh you are full of knowledge! I love it

1 Like

Resolved: I deleted yarn.lock did “yarn install” then “yarn build” last “yarn start” and everything worked.

3 Likes

Thank you, I might go try that, I moved on a while ago, actually forgot what held me up, but nice to see you figured it out.. and shared it.