dfinity / vessel

The original package manager for Motoko
Apache License 2.0
113 stars 19 forks source link

`vessel bin` runs indefinitely #72

Open vporton opened 1 year ago

vporton commented 1 year ago

The command

vessel bin

does not exit already for a few minutes.

vessel.dhall:

{
  dependencies = [ "base", "btree", "stable-rbtree", "stable-buffer" ],
  compiler = Some "0.9.1"
}
$ vessel --version
vessel 0.6.5
rvanasa commented 1 year ago

Behind the scenes, one of the files from this GitHub release (depending on your operating system) is downloaded when running the vessel bin command: https://github.com/dfinity/motoko/releases/tag/0.9.1

If necessary, you could manually add these compiler files to the .vessel/.bin/ directory.

The most likely explanation for the delay is a very slow Internet connection, although it's also possible that this could be an OS-specific bug. Which operating system are you using?

In case it helps with debugging, here is the relevant source code.

vporton commented 1 year ago

The most likely explanation for the delay is a very slow Internet connection

GitHub downloading is extremely slow for me. You need to replace GitHub by another files hosting.