-
Notifications
You must be signed in to change notification settings - Fork 252
Node.js
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.js ≥ v12.16.0
with NPM ≥ v6.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:
G:\webpages\pathfinder>npm list --depth=0
[email protected] G:\webpages\pathfinder
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected] extraneous
+-- [email protected]
+-- [email protected]
+-- [email protected]
+-- [email protected]
`-- [email protected]