firebase function delopyに失敗(初心者用)
$ firebase deploy –only functions
を実行して、失敗しました。
Functions deploy had errors with the following functions:
helloWorld(us-central1)
i functions: cleaning up build files…
Error: There was an error deploying functions
Contents
原因
コマンドを実行するときのディレクトリは、プロジェクト直下ではなく、
cd ./functions
をしてから、
$ firebase deploy –only functions
したら成功しました。