Yarn install error

I got this error during installation:
1708
what i can do?

upgrade node!

sudo npm cache clean -f
sudo npm install -g n
sudo n stable

I get error when I use yarn Install.

warning Cannot find a suitable global folder

Edit: I have solved my problem by adding sudo before yarn install

1 Like