LoginSignup
0
1

More than 5 years have passed since last update.

firebase deploy が失敗する

Posted at

不明なエラー

$ node_modules/firebase-tools/bin/firebase deploy --token ${FIREBASE_TOKEN} --only database,storage,hosting

=== Deploying to '{PROJECT_ID}'...

i  deploying database, storage, hosting
i  database: checking rules syntax...
✔  database: rules syntax for database {PROJECT_ID} is valid
i  storage: checking storage.rules for compilation errors...
✔  storage: rules file storage.rules compiled successfully
i  storage: uploading rules storage.rules...
i  hosting: preparing hosting/dist directory for upload...

i  Progress: [
Error: HTTP Error: 410, Unknown Error

こまった。

原因

--only database,storage,hosting こうやってまとめずに別々でデプロイしたらエラーメッセージを出してくれた。

$ node_modules/firebase-tools/bin/firebase deploy --token ${FIREBASE_TOKEN} --only database

=== Deploying to '{PROJECT_ID}'...

i  deploying database
i  database: checking rules syntax...
✔  database: rules syntax for database {PROJECT_ID} is valid
i  database: releasing rules...
✔  database: rules for database {PROJECT_ID} released successfully

Error: HTTP Error: 410, This version of the Firebase CLI is no longer able to deploy to Firebase. Please upgrade to a newer version (>= 4.1.0). If you have further questions, please reach out to Firebase support.
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1