yarnpkg

I tried to Install my Dependencies but I got an Unexpected Error


I tried to install dependencies of my program and I get a error when execute yarn install on Linux OS

I execute yarn install or sudo yarn install and I get the next error:

An unexpected error occurred: "https://registry.yarnpkg.com/eslint/-/eslint-7.32.0.tgz: connect EACCES 2606:4700::6810:1523:443"

Solution

  • It was only firewall rule of Ubuntu.

    sudo ufw allow 443