1 Like
Run this command:
curl -o- -L https://yarnpkg.com/install.sh | bash
It dont work! When i installed and send yarn command on terminal it dont work
It says: -su: yarn command not found
I had to do a little more than what @jarvis394 noted, probably mostly due to how Glitch manages console sessions. I ended up running these commands:
touch .bash_profile
curl -o- -L https://yarnpkg.com/install.sh | bash
exit
Then I used the Reconnect button to start a new terminal and yarn
was available.
If you’ve already run the command @jarvis394 noted then you’ll probably have to run rm -rf /app/.yarn
first.
5 Likes
Thanks cori, it worked!
1 Like
You can just add package.json
by npm init -y
command and it will automatically turn your project into Node.JS project
1 Like