Getting my Angular 4 application running again on my MacBook

curiouswebster
curiouswebster used Ask the Experts™
on
Getting my Angular 4 application running again on my MacBook

I have not run this app for months and also upgraded my MacOS to Mojave weeks ago. And now I need to run my Angular 4 program from Visual Studio Code.

I have forgotten exactly how to force it into debug mode. Or, even run without debugging mode. I need to test if it still works.

How can I do this?

I assume I need to open Terminal and start the Node Angular server. How do I do this?

Thanks.
Comment
Watch Question

Do more with

Expert Office
EXPERT OFFICE® is a registered trademark of EXPERTS EXCHANGE®
Most Valuable Expert 2017
Distinguished Expert 2018
Commented:
I am not familiar with Mac but will try and help you work through this.

In Visual Studio Code you do the following

1. Control J to open the bottom terminal window
2. Click the Terminal Tab
3. Type
ng serve
If you want to open on a particular port then (other than the default 4200)
ng serve --port 4800

Give that time to compile then open your browser and go to
localhost:4200 (assuming you selected the default else change the port accordingly)
curiouswebsterSoftware Engineer

Author

Commented:
Thanks!

I hope to be doing much more Angular 4 in the near future!
Most Valuable Expert 2017
Distinguished Expert 2018

Commented:
You are welcome.

Do more with

Expert Office
Submit tech questions to Ask the Experts™ at any time to receive solutions, advice, and new ideas from leading industry professionals.

Start 7-Day Free Trial