This is mostly a reminder for me. When publishing a new version on your Openshift environment a
npm install is run by default. However you can configure it to install only the modules under dependencies in your
package.json file instead of installing both dependencies and devDependencies modules.
I had this error on a reboot on Ubuntu 16.04 after uninstalling VirtualBox using:
sudo apt-get remove virtualbox-\* sudo apt-get purge virtualbox-\*
In order to fix it I had to:
I come over this little issue while downgrading my MySQL version. The fix is so concise it’s worth sharing:
systemctl unmask mysql.service service mysql start
Recently I had an issue while creating a rotating loader. I had to make the website logo rotate in the middle of the page, no big issue. I put a container in the center of the page and then created a
rotating class with the following CSS code:
I wrote this article with a very specific title since it’s a common practice for different use cases. I thought a lot of people would find this answer while looking for a method to pass a NODE_ENV variable exposed in the
npm script of the package.json directly to the code.