Skip to main content

Using nvm to install a specific version of node js

Submitted by daniel on

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:

A skeleton for setting up your node js project

Submitted by daniel on

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.