I have read the posts similar to this but to no avail.
I am in the midst of a comprehensive tutorial for Angular (5). I am on MacOs High Sierra 10.13.3. I am using Chrome Version 64.0.3282.140 (Official Build) (64-bit).
I just completed one project in the tutorial. I am now trying to complete the next project in the tutorial. The project is set to use the default port 4200 on localhost. All of the projects have executed this way.
I have performed my npm install. My npm start script is simple, = "ng serve". I enter npm start and it serves up the project as expected. I then go to my browser and enter the address localhost:4200. The previous project renders. I can't get the current project to render. These are the things I have tried to remedy the situation:
- sudo lsof -i tcp:4200
- changing the start script to ng serve --port 4300 and then using the address localhost:4300 (tried it with 5000 too)
- Actually the first thing I did was look for an active activity on port 4200 in the Activity Monitor
- Clear my Chrome browsing history
- Restart my computer.
- Tried the same process using Firefox as a browser
- Tried it using Brave as a browser
In each and every case when I enter localhost:(anything) I get the previous project. Any ideas?