Daniel Lee
Joined
3,120 Experience
31 Lessons Completed
0 Questions Solved
Activity
it might be better practice to install NVM and install node using NVM and install yarn globally using node.
example code might look something like this:
sudo apt install curl git-core zlib1g-dev build-essential libssl-dev libreadline-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt1-dev libcurl4-openssl-dev software-properties-common libffi-dev
# install NVM
curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.38.0/install.sh | bash
# install latest version of nodejs
nvm install node
# install yarn globally
npm install -g yarn
the above can replace the first code block. :)
sudo apt install postgresql-11 no longer works. :)