Giter VIP home page Giter VIP logo

firebase-tools-issue-3359's Introduction

Firebase Tools Issue #3359

MCVE for firebase/firebase-tools#3359

Steps to reproduce

  1. Delete contents of us.artifacts.<project name here>.appspot.com for any existing project (or clone and use this repo).
  2. Try firebase deploy and it fails:
$ firebase deploy

=== Deploying to 'trial-3f17b'...

i  deploying functions, hosting
Running command: npm --prefix "$RESOURCE_DIR" run lint

> lint
> eslint .

+  functions: Finished running predeploy script.
i  functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i  functions: ensuring required API cloudbuild.googleapis.com is enabled...
+  functions: required API cloudbuild.googleapis.com is enabled
+  functions: required API cloudfunctions.googleapis.com is enabled
i  functions: preparing functions directory for uploading...
i  functions: packaged functions (68.54 KB) for uploading
+  functions: functions folder uploaded successfully
i  hosting[trial-3f17b]: beginning deploy...
i  hosting[trial-3f17b]: found 2 files in public
+  hosting[trial-3f17b]: file upload complete
i  functions: updating Node.js 14 (Beta) function helloWorld(us-central1)...

Functions deploy had errors with the following functions:
        helloWorld(us-central1)

To try redeploying those functions, run:
    firebase deploy --only "functions:helloWorld"

To continue deploying other features (such as database), run:
    firebase deploy --except functions

Error: Functions did not deploy properly.
  1. Delete us.artifacts.<project name here>.appspot.com bucket and retry. It deploys:
$ firebase deploy

=== Deploying to 'trial-3f17b'...

i  deploying functions, hosting
Running command: npm --prefix "$RESOURCE_DIR" run lint

> lint
> eslint .

+  functions: Finished running predeploy script.
i  functions: ensuring required API cloudfunctions.googleapis.com is enabled...
i  functions: ensuring required API cloudbuild.googleapis.com is enabled...
+  functions: required API cloudbuild.googleapis.com is enabled
+  functions: required API cloudfunctions.googleapis.com is enabled
i  functions: preparing functions directory for uploading...
i  functions: packaged functions (68.54 KB) for uploading
+  functions: functions folder uploaded successfully
i  hosting[trial-3f17b]: beginning deploy...
i  hosting[trial-3f17b]: found 2 files in public
+  hosting[trial-3f17b]: file upload complete
i  functions: updating Node.js 14 (Beta) function helloWorld(us-central1)...
+  functions[helloWorld(us-central1)]: Successful update operation.
i  hosting[trial-3f17b]: finalizing version...
Function URL (helloWorld): https://us-central1-trial-3f17b.cloudfunctions.net/helloWorld
+  hosting[trial-3f17b]: version finalized
i  hosting[trial-3f17b]: releasing new version...
+  hosting[trial-3f17b]: release complete

+  Deploy complete!

Project Console: https://console.firebase.google.com/project/trial-3f17b/overview
Hosting URL: https://trial-3f17b.web.app

firebase-tools-issue-3359's People

Contributors

aravindvnair99 avatar

Watchers

 avatar  avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.