when installing the yarn i’m getting the following error kindly help me to fix a issue
@Varshapriya_Selvakum try with sudo
@Varshapriya_Selvakum Reinstall Node.js and Yarn using a version manager like nvm (Node Version Manager), which installs them in your user directory and doesn’t require sudo
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.39.3/install.sh | bash
Then install Node.js via nvm:
nvm install --lts
Finally, install Yarn using npm:
npm install -g yarn
Now, yarn install should run without permission issues.
yarn cache clean
yarn install
