As few months ago, I decided to make an effort to see how much of my job I can do using only OSS (Open Source Software). I wanted to share my experience so far and welcome any tips/help you can share with me. This first post is about how I got started with a new computer/OS combo and not really much about design. The second (and third?) will be about using it to design.
When working with npm (Node Package Manager), I picked up the horrible habit of throwing a
sudo in front of
npm install or
npm up. Usually, I only did it when I got an error. This is bad. It becomes a headache at some point. Here’s how to unfuck the permissions of the folder:
- Do this:
sudo chown -R $USER ~/.npm
- And this:
sudo chown -R $USER /usr/local/lib/node_modules
- And, if you get an error, maybe do the
sudo chown -R $USERbit on the folder in question.
chown -R $USER simply changes the ownership to the user recursively to all the stuff in the folder.