Using nvm to install a specific version of node js Submitted by daniel on Wed, 28/09/2022 - 13:14 Sometimes you might want to install a legacy version of node in order to circumvent some installation issues. e.g. I recently tried to install and run webgl worksop on my local machine that was developed a few years ago with an older version of node. Installing with a more recent version I get the following error: Tags: nvm node js bash zsh
A skeleton for setting up your node js project Submitted by daniel on Fri, 06/11/2020 - 19:09 There are many reasons that you might want to run your application on node js as opposed to php. One reason that stands out for me is that node js has a built in server, making it much lighter than say php that typically served on top of either Apache or Nginx 'web servers'. This typically makes such applications very heavy on memory usage, with each thread maybe consuming around 128MB for a standard Drupal site. Tags: node js http dotenv Plesk