You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
#=#=# Warning: Failed to open the file /home/marbug/.deno/bin/deno.zip: Permission
Warning: denied
curl: (23) client returned ERROR on write of 1369 bytes
After digging a bit I found that code of current install.sh does not support the following value: uname -sm
is returning Linux x86_64
on my PC.
And code of install.sh is the following:
if [ "$OS" = "Windows_NT" ]; then
target="x86_64-pc-windows-msvc"
else
case $(uname -sm) in
"Darwin x86_64") target="x86_64-apple-darwin" ;;
"Darwin arm64") target="aarch64-apple-darwin" ;;
"Linux aarch64") target="aarch64-unknown-linux-gnu" ;;
*) target="x86_64-unknown-linux-gnu" ;;
esac
fi
P.P.P.P.S. Hm. After removing curl and installing new one by apt-get install curl I have no error.
Should documentation contain requirement that curl cannot be 8.x installed from snap, but should be 7.x installed by apt-get install curl? curl -V
is returning the following now:
Hi.
I am trying to install deno according to the following documentation https://docs.deno.com/runtime/getting_started/installation/
I.e. I am using
curl -fsSL https://deno.land/install.sh | sh
on my Ubuntu Linux
cat /etc/os-release
is showing
Script is showing the following error:
After digging a bit I found that code of current install.sh does not support the following value:
uname -sm
is returning
Linux x86_64
on my PC.
And code of install.sh is the following:
i.e. this makes install.sh to download zip from the following deno_uri: https://dl.deno.land/release/v2.2.3/deno-x86_64-unknown-linux-gnu.zip
And it looks like https://dl.deno.land/release/v2.2.3/deno-x86_64-unknown-linux-gnu.zip is absent ))
That's why there is no zip file and I am receiving
... Failed to open the file /home/marbug/.deno/bin/deno.zip ...
Does this mean that install.sh is broken or should something be fixed in documentation?
P.S. Hm. After playing a bit more it looks like curl is not able to download https://dl.deno.land/release/v2.2.3/deno-x86_64-unknown-linux-gnu.zip but my browser/Chrome is downloading it without any issue...
I.e. the following code is not working:
Should there be any requirement for curl version or something else?
P.P.S. I replaced
by
and install.sh is working as expected.
P.P.P.S. My current curl version is:
curl -V
P.P.P.P.S. Hm. After removing curl and installing new one by
apt-get install curl
I have no error.Should documentation contain requirement that curl cannot be 8.x installed from snap, but should be 7.x installed by
apt-get install curl
?curl -V
is returning the following now:
The text was updated successfully, but these errors were encountered: