Skip to content

function is not defined error after upgrading v9.6.1 to v9.12.0 #3426

Closed

Description

@syAndyDev

[REQUIRED] Environment info

firebase-tools: 9.12.0

Platform: linux

[REQUIRED] Test case

firebase functions:shell

[REQUIRED] Steps to reproduce

  1. initialize the project with v9.6.1.
  2. upgrade the firebase related packages to latest.
  3. reinstall the packges (remove and install)
  4. firebase emulators:start
  5. firebase functions:shell

[REQUIRED] Expected behavior

All http functions will should be callable in the shell.

[REQUIRED] Actual behavior

But got this error

Uncaught ReferenceError: functionName is not defined

Activity

  1. dimavedenyapin commented on May 28, 2021

    @dimavedenyapin

    This also happens with me in OS X

  2. added a commit that references this issue on May 28, 2021
    f371b07
  3. jaxnz commented on May 30, 2021

    @jaxnz

    Same issue here, rolling back to firebase-tools 9.11.0 - works OK.

  4. rconjoe commented on May 30, 2021

    @rconjoe

    Ubuntu and Mac users on our team are experiencing this as well. Same 9.11.0 rollback works for now.

  5. joehan commented on Jun 1, 2021

    @joehan
    Member

    Hey all, sorry for this regression. I tested out @syJSdev 's fix, and it looks good to me - thanks a ton! We'll be releasing a patch version shortly to get this fixed

  6. added a commit that references this issue on Dec 14, 2021
    34ee6e3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    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