It’s been a while since I haven’t used vessel but I tried it yesterday.
So first point:
In order to install Releases · dfinity/vessel · GitHub the only guide is this Download a copy of the vessel binary [from the release page](https://github.com/dfinity/vessel/releases) or build one yourself which is a bit poor.
So in order to get it I had to run:
Simple enough but it would be good to be in the README
Second point:
I noticed the files from the release are not .dmg or .deb so you can’t install them. so in order to run vessel you have to keep a copy in your project root
So if you have more projects you need to keep a copy in each one of them
And the last point:
Previously I had a package-set.json and a vessel.json but it seems that’s not working anymore and you need a package-set.dhall and a vessel.dhall now.
That’s fine but I can’t make it work so my package-set.dhall is
That might be coming from the motoko-matchers package, which has a package-set.dhall itself. This will have a let upstream = ... line at the top where you’ll see the hash it’s checking against.
Did you run vessel init to generate the package-set.dhall for your project first? This should include an upstream entry pointing at kritzcreek’s package set repo instead, try that version and/or working your way up from there.
Running the command dfx deploy cap-motoko-example --argument "(opt \"<Router ID>\")" I’m being prompted with The build step failed for canister 'rrkah-fqaaa-aaaaa-aaaaq-cai' with an embedded error: Failed to invoke the package tool "vessel" "source" the error was: No such file or directory (os error 2).
I have downloaded the vessel-linux64 binary and I’m on Arch Linux. Running ./vessel-linux64 as @Gabriel suggests, doesn’t install the package manager as I’m used to. I don’t have any experience installing executables on Linux but usually I just type ./EXECUTABLE-NAME and it will run an install script. This is the dfx.json for CAP:
Yeah it’s a bit confusing, I’ve created a PR here but it hasn’t been approved:
For Ubuntu in $HOME/bin RUN wget https://github.com/dfinity/vessel/releases/download/v0.6.1/vessel-linux64 For OSX in usr/local/bin RUN: wget https://github.com/dfinity/vessel/releases/download/v0.6.1/vessel-macos
Rename vessel-linux64 to vessel eg: RUN mv vessel-linux64 vessel