Skip to content

Node.js

Mark Friedrich edited this page Apr 18, 2020 · 19 revisions

If you are not planning to change the codebase, you don´t have to read on.


PATHFINDER comes along with a simple, Gulp based, build process.

Gulp is a NPM module, therefore we need to install Node.js with NPM first.

1. Install Node.jsv12.16.0 with NPMv6.13.4

Hint: The Windows installer of Node.js will install NPM as well. You don´t have to install NPM afterwards.

2. Install npm-check-updates [optional]

To keep all your node packages up2date, you should install this module. We do this installation global (-g) in order to easy access the "check for updates" function from the SHELL.

$ npm install -g npm-check-updates

This will global install npm-check-updates

3. Install all required node modules from the /package.json

$ npm install

This will install all required modules and their dependencies local ([PROJECT_ROOT]/node_modules/)

4. Check installation

  • $ node -v should show the current Node.js version
  • $ npm -v should show the current NPM version
  • $ npm list --depth=0 will list all local module installations. The output should look something like this:
Clone this wiki locally