Skip to content

TypeError: Failed to resolve module specifier "firebase-functions". Relative references must start with either "/", "./", or "../". #1136

@rajeevb2

Description

@rajeevb2

Related issues

[REQUIRED] Version info

node:
17.31.1

firebase-functions:
3.21.2

firebase-tools:
11.1.0

firebase-admin:
10.3.0

[REQUIRED] Test case

From browser Developer tools I see:

[some.js] TypeError: Failed to resolve module specifier "firebase-functions". Relative references must start with either "/", "./", or "../". undefined
consoleError @ [some.js]
[some.js] Uncaught (in promise) Error: Constructor for "app-share#undefined" was not found
at initializeComponent [some.js]

[REQUIRED] Steps to reproduce

My firebase hosting app (uses firestore and functions) used to work and suddenly stopped working...almost like some change was made to firebase environment

[REQUIRED] Expected behavior

No error. I now get a blankpage.

[REQUIRED] Actual behavior

No deployment issue

Were you able to successfully deploy your functions?

Yes

No

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions