googlemaps / transport-tracker

Applications for tracking moving assets on a live map
Apache License 2.0
574 stars 442 forks source link

Deployment to Firebase hosting #60

Closed marcfarssac closed 5 years ago

marcfarssac commented 5 years ago

In codelab https://codelabs.developers.google.com/codelabs/transport-tracker-map/#0 can not deploy anymore after geting a 410 error. After upgrading tools to version 6.x.y it still reports the same issue and the codelab can not be completed.

Step 3 of 5 of Codelab

=== Deploying to 'fbase-xxxx-transport-tracker'...

i deploying database, hosting i database: checking rules syntax... ✔ database: rules syntax for database fbase-snorek-transport-tracker is valid i hosting: preparing public directory for upload... Error: HTTP Error: 410, This version of the Firebase CLI is no longer able to deploy to Firebase Hosting. Please upgrade to a newer version (>= 4.1.0). If you have further questions, please reach out to Firebase support. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! transport-tracker-map@1.0.0 firebase-deploy: firebase deploy npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the transport-tracker-map@1.0.0 firebase-deploy script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above.

npm ERR! A complete log of this run can be found in: npm ERR! /home/xxxx/.npm/_logs/2019-03-17T16_11_35_172Z-debug.log

marcfarssac commented 5 years ago

I could work around it by installing an older firebase-tools version npm install firebase-cli@4.2.0