crystal-lang / shards

Dependency manager for the Crystal language
Other
763 stars 100 forks source link

Getting "Maybe a commit, branch or file doesn't exist?" error #409

Closed thelinuxlich closed 4 years ago

thelinuxlich commented 4 years ago

Crystal: 0.35.0 Shards: 0.11.0

Trying to install crystal-community/zeromq-crystal gives me this error

straight-shoota commented 4 years ago

Can you be more specific? How do you install that shard? Please share relevant configuration (shard.yml) and commands (shards install?) to reproduce this error. Also the entire error output helps.

thelinuxlich commented 4 years ago

Actually I just found out the error only happens if I'm using a mounted Windows folder(running Crystal through WSL 2 on VSCode)

straight-shoota commented 4 years ago

Could you still share how to reproduce this (with WSL2)?

thelinuxlich commented 4 years ago

Steps for reproduction: On Windows 10, install any Linux distribution through the Microsoft Store, enable WSL 2(must be on a recent Windows 10 Insider Build), boot up the distribution through WSL, install Crystal, go to /mnt/c/some_folder(it's your mounted NTFS folder) create a new project with crystal init app name, add any github dependency to shard.yml and run shards install

straight-shoota commented 4 years ago

I can't reproduce this. Which Insider Build are you on? It's unlikely to be specific to the build, though.

It would really help if you would provide a concrete shard.yml file and the full error output from shards install.

Blacksmoke16 commented 4 years ago

Maybe also with the --verbose flag ^?

thelinuxlich commented 4 years ago

I don't know what happened, now I'm able to run it flawlessly! It may be a issue regarding mounted NTFS disks, but somehow it's not happening anymore