Help us understand the problem. What is going on with this article?

not import Firebase SDK

More than 3 years have passed since last update.

なぜ起きたか

久々にfirebaseを触ったら、firebase servenot configured and imported the Firebase SDK.と言われた。

deployしてるアプリは問題ないので試しにローカルファイルをdeployすると、Hostingしているアプリ側でも発生。

ぐぐった

Stack Overflowにたどり着く。
How do I configure the Firebase SDK for the codelab?

You just have to paste the initialization snippet from: Firebase Console > Overview > Add Firebase to your web app in index.html file in web-start folder.

OverviewのFirebaseの情報をindex.htmlに貼り付け直すと良いらしい。

なおった

servedeployもエラーがなくなった。
バージョンにかなり開きがあったみたい。
3.6.4から4.3.1になった。
備忘録としてご参照ください。

nitaking
ReactNativeエンジニアになりつつある
https://www.wantedly.com/users/18008954
aircloset
「新しい当たり前を作る」を作ることをミッションに、airClosetを開発・運営しています。
http://corp.air-closet.com/
Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
Comments
No comments
Sign up for free and join this conversation.
If you already have a Qiita account
Why do not you register as a user and use Qiita more conveniently?
You need to log in to use this function. Qiita can be used more conveniently after logging in.
You seem to be reading articles frequently this month. Qiita can be used more conveniently after logging in.
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
ユーザーは見つかりませんでした