angular-university / angular-pwa-course

Angular PWA Course - Build Progressive Web Applications
https://angular-university.io/course/angular-pwa-course
MIT License
182 stars 129 forks source link

dev build: Could not subscribe to notifications error in both chrome and firefox #4

Open laurencefass opened 6 years ago

laurencefass commented 6 years ago

i've installed the example into a docker container and browser is running in windows 10 host.

in both browsers console throwing up error

Service workers are disabled or not supported by this browser

push notifications appear to be working with other websites.

just to be safe ive confirmed that service workers are enabled..

Firefox: Go to about:config and set dom.serviceWorkers.enabled to true; restart browser.
Chrome: Go to chrome://flags and turn on experimental-web-platform-features; restart browser (note that some features are now enabled by default in Chrome.)
Anujmoglix commented 6 years ago

same issue for me and i am getting You have to be inside an angular-cli project in order to use the build command. when doing ng build --prod

laurencefass commented 6 years ago

great will you post an update here, if not where can i find it? stackblitz?

ruslanguns commented 5 years ago

any update regarding this subject? thanks to let us know how to debug it