Helping getting a repo to compile

Problem you are experiencing is due to incompatible versions of shard with current Crystal version. Or the shards which were built using previous versions of Crystal. For example halite is locked to version 0.10.4 while currently its updated for latest version of Crystal.

You can perform below steps to ensure latest versions of deps are retrieved.

  1. Remove lib folder (as that contains the downloaded shards)
  2. remove file shard.lock and perform a shards install again. That will ensure that latest version of dependencies are retrieved.

I don’t know if all dependent shards are updated for latest version of Crystal, but you can try above approach to see if this codebase is going to work with latest version of Crystal.

HIH.

1 Like