Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

The great thing about setting a NodeJS project means you can write Javascript code independent of ReactJS or Angular. This means debugging classes etc is so easy.

Setting up nodejs express

npm install -g express-generator

Creating a nodejs project

express <project location> --view pug

Set <project location> to “.” if you want to create a project in the current directory otherwise specify the path to the project.

npm install

Node will download the default project dependencies

You may get some dependency warnings for the following packages - canvas, bufferutil, and utf-8-validate. If so use the following commands to install the updates

npm install --global canvas
npm install --global bufferutil
npm install --global utf-8-validate
  • No labels