Angular Build for Windows/Linux


Windows Command Tool(cmd) as Administrator: Win Key + R.

Linux Bash Shell: Ctrl + Alt + T, sudo su

Install Nodejshttps://nodejs.org/en/

Windows: Install Windows Build Tools: npm install –global –production windows-build-tools

Linux: sudo apt install gcc g++ make

Install Angular CLI: npm install –global @angular/cli

Check Versions: npm –version, node –version, ng –version

Start new Angular App: ng new my-app

Build & Run: npm start/ng serve

Run in browser: http://localhost:4200.


More details can be found here, https://www.freecodecamp.org/news/how-to-get-up-and-running-with-angular-on-windows-7405ba745c25/

Issues: An unhandled exception occurred: Could not find module “@angular-devkit/build-angular”.

Solution: https://stackoverflow.com/questions/50333003/could-not-find-module-angular-devkit-build-angular?page=1&tab=votes#tab-top

If above all is working, You have done your first Angular App.  Start build more complex apps. Cheers….

Be the first to comment

Leave a Reply

Your email address will not be published.


*