denoland / deno_install

Deno Binary Installer
https://deno.land/
MIT License
966 stars 179 forks source link

Warn users that snap curl is unsupported. #256

Open jespertheend opened 1 year ago

jespertheend commented 1 year ago

When I try to install using

curl -fsSL https://deno.land/install.sh | sh

I get

Warning: Failed to open the file /home/jesper/.deno/bin/deno.zip: Permission  
Warning: denied
                                                                           0.0%curl: (23) Failure writing output to destination
jespertheend commented 1 year ago

Turns out snap curl is useless.

This fixed it for me:

sudo snap remove curl
sudo apt install curl

I'll leave this open in case someone wants to add a warning when this happens. Feel free to close otherwise.