becem-gharbi / nuxt-fcm

Firebase Cloud Messaging for Nuxt
MIT License
20 stars 2 forks source link

500 Service messaging isn't available #5

Closed CruzedV closed 1 year ago

CruzedV commented 1 year ago

Hi! I've got this strange issue, related with my firebaseConfig:

defineNuxtConfig: { .... ssr: true, fcm: { firebaseConfig: { apiKey: "XXXXXXXXXXX"", authDomain: "XXXXXXXXXXX"", databaseURL: "XXXXXXXXXXX"", projectId: "XXXXXXXXXXX"", storageBucket: "XXXXXXXXXXX"", messagingSenderId: "XXXXXXXXXXX", appId: "XXXXXXXXXXX", measurementId: "XXXXXXXXXXX"", }, vapidKey: "XXXXXXXXXXX", }, ..... } But I ain't got this issue week before,

image

becem-gharbi commented 1 year ago

Hi, This is weird that you got server error on a client plugin. Nevertheless, please make sure you to verify your firebase credentials and to add service worker.

CruzedV commented 1 year ago

My problem was in dependencies, I guess I accidentally deleted something important