Skip to main content

Developer Environment SETUP

Table of Contents

  1. GIT
  2. Visual Studio Code
  3. NodeJS
  4. Angular CLI
  5. Firebase CLI
  6. Running App
  7. Common Errors

Git

GIT Install (Windows)Screenshot
open the website WINDOWS (GIT-SCM)img
CLICK Next (Keep Default)CLICK Next (Keep Default) img
CLICK Next (Keep Default)CLICK Next (Keep Default)img
CLICK Next (Keep Default)CLICK Next (Keep Default)img
_choose_ide_choose_ideimg
PICK New Nomenclature_pick_new_nomenclature img
_set_env_path_set_env_path img
CLICK Next (Keep Default)CLICK Next (Keep Default) img
CLICK Next (Keep Default)CLICK Next (Keep Default) img
CLICK Next (Keep Default)CLICK Next (Keep Default) img
CLICK Next (Keep Default)CLICK Next (Keep Default) img
CLICK Next (Keep Default)CLICK Next (Keep Default) img
CLICK Next (Keep Default)CLICK Next (Keep Default)img
CLICK Next (Keep Default)CLICK Next (Keep Default)img
CLICK Next (Keep Default)CLICK Next (Keep Default)img
finishimg
fresh install loginfresh install login}
Table of Contents ⬆️

VSCode

Windows InstallDirections
Download From Websitehttps://code.visualstudio.com/
Downloadimg
accept_and_click_nextimg
nextnext img
click nextclick_next img
optionaloptional img
click installclick_install img
donedone img

VSCode Linux Install

sudo snap install code --classic

Table of Contents ⬆️

NodeJS

INSTALL NODE VERSION BASED ON COMPATIBILITY CHART

figure out what version you need based on the angular version found in the package.json file

Angular CLI versionAngular versionNode.js versionTypeScript versionRxJS version
1.0.0-beta.17 (package name: angular-cli)~2.0.2^6.9.5~2.0.10^5.0.3
1.0.0-beta.20-1 (package name: angular-cli)~2.1.2^6.9.5~2.0.10^5.0.3
1.0.0-beta.22-1 (package name: angular-cli)~2.2.4^6.9.5~2.0.10^5.0.3
1.0.0-beta.30~2.3.1^6.9.5~2.0.10^5.0.3
1.0.0-rc.4~2.4.10^6.9.5~2.0.10^5.0.3
~1.0.6>= 4.0.3 <= 4.1.3^6.9.5~2.2.2^5.0.3
~1.1.3>= 4.0.3 <= 4.1.3^6.9.5~2.3.4^5.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.0 ^12.11.1>= 4.0.8 <= 4.1.6^6.5.5
~12.0.5~12.0.5^12.14.1 ^14.15.0~4.2.4^6.5.5
~12.1.4~12.1.5^12.14.1 ^14.15.0>= 4.2.4 <= 4.3.5^6.5.5
~12.2.0~12.2.0^12.14.1 ^14.15.0>= 4.2.4 <= 4.3.5^6.5.5 ^7.0.1
~13.0.4~13.0.3^12.20.2 ^14.15.0 ^16.10.0~4.4.4^6.5.5 ^7.4.0
~13.1.4~13.1.3^12.20.2 ^14.15.0 ^16.10.0= 4.4.4 <= 4.5.5^6.5.5 ^7.4.0
~13.2.6~13.2.7^12.20.2 ^14.15.0 ^16.10.0= 4.4.4 <= 4.5.5^6.5.5 ^7.4.0
~13.3.0~13.3.0^12.20.2 ^14.15.0 ^16.10.0= 4.4.4 < 4.7.0^6.5.5 ^7.4.0
~14.0.0~14.0.0^14.15.0 ^16.10.0= 4.6.0 < 4.8.0^6.5.5 ^7.4.0

NVM

NVM step 1

NVM how-switch-node-js-versions

Install NVMScreenshot
1 Verify Node is not installed on local machine: run the followning shell command nvm OR nvm v AND node v OR nodeimg
2 Download NVM (WINDOWS)https://github.com/coreybutler/nvm-windows/releases
3 Click NVM-SETUP.EXEimg
4 Accept Licenseimg
5 WINDOWS CHANGE default folder!! C:\nvm4wimg
6 click next on the symlink folderimg
7 click Installimg

Install NodeJS (WINDOWS NVM VARIANT)

NODE Windows InstallScreenshot
Final Step, actually installing Node.JS check the chart from the top of the page against your package.json file. in this example we install node v12 nvm install 12img
nvm use 12img

https://www.npmjs.com/package/@angular/cli

NPMInstall
this command will download the javascript libaries needed to run the website on your computer using the package.json filenpm i

Table of Contents ⬆️

Angular

Angular Windows InstallSteps
run command to downloadnpm install -g @angular/cli@11
doneimg

Firebase

Firebase CLI Windows InstallSteps
run command: npm i -g firebase-toolimg
doingimg
done

Table of Contents ⬆️

Running App

Running AppSteps
run command in terminalnpm start
open web browserhttp://localhost:4200/

Table of Contents ⬆️

Common Errors

BG-Gradient npm start / ng serve error**

error running appsolution
ERRORimg
SOLUTION: go to node_modules\bootstrap\scss\_variables.scssimg
_variables.scss >> change $enable-gradients to trueimg

Congratulations now you are ready to create a branch to do your work