Sometimes you need to reset node modules package, a common method to clear out any potential errors. Use the following command in the terminal to remove the folder and contents and reinstall packages. You can also do npm update instead of the above, but this will not work if there are no new packages.
Go to ~/.bash_profile Add composer’s bin directory to the system path by placing export PATH=”$HOME/.composer/vendor/bin:$PATH” into your ~/.bash_profile (Mac OS users) or into your ~/.bashrc (Linux users). You can use any text editor to add this line to the file or create a new “.bash_profile” file if you do not already have one.
About the course Learning How to Learn is a Coursera course taught by Dr. Barbara Oakley from McMaster University and Dr. Terrence Sejnowski of UC San Diego. The course teaches proven learning techniques backed by modern science and can be used to master a variety of subject. This course gives you easy access to the … Read more
I ran into some trouble running through different tutorials to setup virtual hosts while setting up a local Laravel site. There doesn’t seem to be much consensus on the developers’ preferred local environment. So here’s how to setup virtual hosts on a mac with MAMP. From what I understand this let’s you use a “virtual” … Read more