Originally published on the Trilon Blog on Aug 7, 2019.
Whenever we work on a new project we need to run npm install, but how often do we think about the toll this takes on our hard-drive?
A single node_modules folder can take up anywhere from 200+ megabytes of space (sometimes 1GB+ !).
Now take a look at your github/ folder, or wherever else you're storing the majority of your projects, and you can start to see where some of your free hard-drive space has gone!
I recently tweeted about this, as it's something I use every few months and wanted to share with others who might have ran into the ...
The Python 2 version is no longer a default Python version since Ubuntu 18.04. With a release of Ubuntu 20.04 the Python 2 on a default system installation has been also completely dropped hence you might encounter the following error when executing the python command:
Command 'python' not found
No despair, the Python 2 is not installed by default but it is still available for installation.
In this tutorial you will learn:
- How to install Python 2
- How to switch Python 2 as a default python interpreter
Software Requirements and Conventions Used
This second and final part will focus on setting up authentication with Vue JS. We’ll be creating a login page, dashboard page which requires authentication, the Vue router, the Vuex store, a guard for routes which require authentication and a logout component.
npm install vue-router --save-dev to install the Vue router.
Source: Part 2
The first ever blog post is here. It might be a good idea to update this post with some more relevant content.