DEV Community

Discussion on: PWA Push Notifications with Firebase (Cloud Messaging)-Part 1

Collapse
 
akattack profile image
AkAttack

you need to check your html file and make sure that the -->



is present, then check your index.js file and make sure you see -->

const errorMessage = document.getElementById("error");