You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When setting onFirebaseHosting to true, the service workers try to load the Firebase JS SDK from the nuxt dev server from __/firebase/..., which of course does not exist. It throws the following error message:
Problem
When setting
onFirebaseHosting
totrue
, the service workers try to load the Firebase JS SDK from the nuxt dev server from__/firebase/...
, which of course does not exist. It throws the following error message:Solution
Only set
onFirebaseHosting
totrue
in production like so:onFirebaseHosting: process.env.NODE_ENV === 'production'
ToDo
Either/or:
The text was updated successfully, but these errors were encountered: