Skip to content

firebase serve fails with TypeError on Travis CI #364

Closed
@sbekrin

Description

@sbekrin

Hey there! I'm trying to run firebase serve on Travis CI to run smoke tests. App fails to start with Error: An unexpected error has occurred.:

i  functions: Preparing to emulate HTTPS functions. Support for other event types coming soon.
[2017-06-05T12:44:01.457Z] TypeError: Cannot read property 'refresh_token' of undefined
  • I'm using firebase serve --debug --only functions,hosting --token $FIREBASE_TOKEN --project $FIREBASE_PROJECT to run it
  • I also have sudo: required in Travis config
  • Everything works fine with same setup locally

Versions:

firebase-tools@3.9.1
firebase-functions@0.5.7
firebase@4.1.0

Any ideas?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions