いつもお世話になっております。
firebaseとVue.jsを用いたSPAのチュートリアルをAWS Cloud9でしております。
firebase init
=== Hosting Setup Your public directory is the folder (relative to your project directory) that will contain Hosting assets to be uploaded with firebase deploy. If you have a build process for your assets, use your build's output directory. ? What do you want to use as your public directory? dist ? Configure as a single-page app (rewrite all urls to /index.html)? Yes ? File dist/index.html already exists. Overwrite? Yes ✔ Wrote dist/index.html i Writing configuration info to firebase.json... i Writing project information to .firebaserc... ✔ Firebase initialization complete!
firebase initまでは問題ないのですが
firebase addと入力すると本来はおそらくプロジェクトをいくつか選択できるはずなのですが、表示されません。
ec2-user:~/environment/mymarkdown $ firebase --add error: unknown option `--add'
そこでfirebase listコマンドを試してみたところ
firebase list
ec2-user:~/environment/mymarkdown $ firebase list No projects found. Projects missing? This version of the Firebase CLI is only compatible with projects that have been upgraded to the new Firebase Console. To access your firebase.com apps, use a previous version: npm install -g firebase-tools@^2.1
プロジェクトが見つからないとエラーが返ってきます。
新しいプロジェクトを作ること、再度initすることなども試してみましたがうまくいきません。
ご教授のほどよろしくお願いします。
> プロジェクトが見つからないとエラーが返ってきます→ コンソール(firebase loginしたアカウントでログイン)でプロジェクトは見えますか?https://console.firebase.google.com/?hl=ja
