Support
GitHub Issues are not used to manage issues for this repository. Please report any issues you may have on the ETT Google Group. Our technical team will address all questions there. Thank you.
This project was generated with angular-cli version 1.0.0-beta.20-4.
At the time of writing, this is the versions of Node and Angular CLI most recently used to setup Site UI. Other versions may cause a variety of errors, which may be documented in the troubleshooting section.
Run ng serve
for a dev server. Navigate to http://localhost:4200/
. The app will automatically reload if you change any of the source files.
Run ng generate component component-name
to generate a new component. You can also use ng generate directive/pipe/service/class
.
Run ng build
to build the project. The build artifacts will be stored in the dist/
directory. Use the -prod
flag for a production build.
Run ng test
to execute the unit tests via Karma.
Run ng e2e
to execute the end-to-end tests via Protractor.
Before running the tests make sure you are serving the app via ng serve
.
Run ng github-pages:deploy
to deploy to Github Pages.
To fix this error when running npm install:
Ensure the right version of Angular CLI is installed: npm install -g @angular/cli@1.7.4
To fix an error like the following when running ng serve:
Try this
npm install --save-dev @types/node@8.9.5 (Or whatever node version is used)
Another potential error when running ng serve is the following:
This happens because your Angular CLI version and Node JS version are not compatible, a helpful compatibility table can be found here:
Npm install gets stuck
C:\Github\site-ui>npm install -g @angular/cli@1.2.7 [..................] / normalizeTree: sill install loadCurrentTree
This happens because you have an incompatible version of Node. Try a different version. (8.9.5 at the time of writing)
When attempting to npm install, after a while, an error appears. The message is very long, this is the end of it:
This also happens because you have an incompatible version of Node. Try a different version. (8.9.5 at the time of writing)
To get more help on the angular-cli
use ng --help
or go check out the Angular-CLI README.