vessel
vessel copied to clipboard
Error install in vessel on macbook m1
Haven't gotten further than running this command as recommended in the IC punks repo'
gennaroschiano@Gennaros-MacBook-Pro ICPunks % ./scripts/vessel-install.sh
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 620 100 620 0 0 2006 0 --:--:-- --:--:-- --:--:-- 2000
/Users/gennaroschiano/bin/vessel: line 1: syntax error near unexpected token `<'
/Users/gennaroschiano/bin/vessel: line 1: `<html><body>You are being <a href="https://github-releases.githubusercontent.com/248089583/a56f5800-c9ea-11eb-84e7-742446381094?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210909%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20210909T063307Z&X-Amz-Expires=300&X-Amz-Signature=9f030b009d52b8f2bb88e0e691868b251bbbdc8da9f9938989d3fed751f4d607&X-Amz-SignedHeaders=host&actor_id=0&key_id=0&repo_id=248089583&response-content-disposition=attachment%3B%20filename%3Dvessel-macos&response-content-type=application%2Foctet-stream">redirected</a>.</body></html>'
Here is the script that is included to install vessel
#!/bin/sh
mkdir -p $BINDIR
BIN=$BINDIR/vessel
OS_FILENAME=linux64
if [[ "$OSTYPE" == "linux-gnu"* ]]; then
OS_FILENAME=linux64
elif [[ "$OSTYPE" == "darwin"* ]]; then
OS_FILENAME=macos
elif [[ "$OSTYPE" == "win32" ]]; then
OS_FILENAME=windows64.exe
fi
VESSEL_VERSION=v0.6.0
curl -o $BIN https://github.com/dfinity/vessel/releases/download/$VESSEL_VERSION/vessel-$OS_FILENAME && chmod +x $BIN && $BIN help```
It looks like your curl failed to follow a redirect there. Maybe try updating curl?
Otherwise you can download a release yourself from here: https://github.com/dfinity/vessel/releases and put it whereever the script would.
Last option would be to compile a binary yourself using rust.
Closing since this appears to be caused by an outdated URL in the external setup script. If needed, I'd be happy to reopen this issue and help debug on the latest version of Vessel (0.6.5).