Thanks for the hint, Sander. I appreciate it.
I double checked my cmd. I did type http-server -p 8080 -c-1 dist
/MyProjectNameHere
The Chrome Incognito browser launched http://localhost:8080. Then I check
the Offline box, Refresh the page=>No Internet error. I reset my PC a few
times, repeat all the steps again with a brand new project, still having
the same issue.

[image: image.png]

[image: image.png]
[image: image.png]

On Mon, Feb 25, 2019 at 5:25 AM Sander Elias <sanderel...@gmail.com> wrote:

> Hi Binh,
>
> Are you on an SSL connection? Also, 'ng serve' will not work for service
> workers.
> (you can load a service-worker without SSL only on localhost)
>
> Regards
> Sander
>
> --
> You received this message because you are subscribed to the Google Groups
> "Angular and AngularJS discussion" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to angular+unsubscr...@googlegroups.com.
> To post to this group, send email to angular@googlegroups.com.
> Visit this group at https://groups.google.com/group/angular.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to