nuxtのssrモードでFirebaseの認証とfirestoreを使っており、デプロイしたところ以下のエラーが発生しました。
何を疑って調べれば良いのか、見当がつかなく困っているのですが、どこを疑ったほうが良いでしょうか。
firebase serve --only hosting,functions
を実行し、下記のログが表示され、
⚠ Your requested "node" version "8" doesn't match your global version "9" i hosting: Serving hosting files from: public ✔ hosting: Local server: http://localhost:5000 ✔ functions: Emulator started at http://localhost:5001 i functions: Watching "/Users/xxx/xxx/functions" for Cloud Functions... i functions: HTTP trigger initialized at http://localhost:5001/xxx/us-central1/ssr [hosting] Rewriting / to http://localhost:5001/xxx/us-central1/ssr for local Function ssr i functions: Beginning execution of "ssr" i Your code has been provided a "firebase-admin" instance. i Your code does not appear to initialize the 'firebase-admin' module, so we've done it automatically. - Learn more: https://firebase.google.com/docs/admin/setup
回答1件
あなたの回答
tips
プレビュー
バッドをするには、ログインかつ
こちらの条件を満たす必要があります。