vessel icon indicating copy to clipboard operation
vessel copied to clipboard

Error install in vessel on macbook m1

Open gschian0 opened this issue 4 years ago • 1 comments

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&amp;X-Amz-Credential=AKIAIWNJYAX4CSVEH53A%2F20210909%2Fus-east-1%2Fs3%2Faws4_request&amp;X-Amz-Date=20210909T063307Z&amp;X-Amz-Expires=300&amp;X-Amz-Signature=9f030b009d52b8f2bb88e0e691868b251bbbdc8da9f9938989d3fed751f4d607&amp;X-Amz-SignedHeaders=host&amp;actor_id=0&amp;key_id=0&amp;repo_id=248089583&amp;response-content-disposition=attachment%3B%20filename%3Dvessel-macos&amp;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```

gschian0 avatar Sep 09 '21 06:09 gschian0

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.

kritzcreek avatar Sep 09 '21 07:09 kritzcreek

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).

rvanasa avatar Feb 08 '23 23:02 rvanasa