firebase / firebase-functions-test

MIT License
232 stars 48 forks source link

Module '"firebase-functions"' has no exported member 'crashlytics' #97

Closed sceee closed 3 years ago

sceee commented 3 years ago

Version info

firebase-functions-test: v0.2.3

firebase-functions: v3.13.2

firebase-admin: v9.8.0

Test case

N/A, it does not seem to be related to any of our user code but only the firebase libraries in relation to each other.

Steps to reproduce

Execute tsc in a project with

Expected behavior

No compilebreak, no conflicting types.

Actual behavior

The following compilebreak occurs

node_modules/firebase-functions-test/lib/providers/crashlytics.d.ts(1,10): error TS2305: Module '"firebase-functions"' has no exported member 'crashlytics'.
sceee commented 3 years ago

It seems this is caused by https://github.com/firebase/firebase-functions/pull/866

beeoohbee commented 3 years ago

This issue causing us issue as well, we cannot upgrade past firebase-functions@3.13.1

michaelprichardson commented 3 years ago

Also running into this issue, will the PR be merged and released soon?

sceee commented 3 years ago

@Salakar @abeisgoat is there any chance you can review my PR for this issue (or forward it to the respective person) and create a release afterwards?

As there have been no PRs merged for a longer time in this repo it seems the open PRs have been overseen.

nerami commented 3 years ago

In the meantime, rolling back to firebase-functions@3.13.2 fixed the issue: https://github.com/firebase/firebase-functions/tree/v3.13.2

taeold commented 3 years ago

Hi folks. We cut a new release that should resolve this issue:

https://www.npmjs.com/package/firebase-functions-test/v/0.3.0

Please let us know if you continue to have problems.