Skip to content

Error TS2315: Type 'Int32Array' is not generic. #1664

Open
firebase/firebase-tools
#8194
@pixelsnis

Description

@pixelsnis

Related issues

None that I could find

[REQUIRED] Version info

"firebase-admin": "^12.1.0"
"firebase-functions": "^5.0.0"

node:

v20.16.0

firebase-functions:

12.1.0

firebase-tools:

13.16.0

firebase-admin:

12.1.0

[REQUIRED] Test case

Initialize Firebase functions using firebase init functions. Write any function and try deploying with firebase deploy --only functions.

[REQUIRED] Steps to reproduce

Same as test case

[REQUIRED] Expected behavior

Deployment should go through normally

[REQUIRED] Actual behavior

Deployment fails with this error:

node_modules/@google-cloud/storage/build/cjs/src/crc32c.d.ts:115:45 - error TS2315: Type 'Int32Array' is not generic.

Were you able to successfully deploy your functions?

No, but by modifying the mentioned file manually and changing Int32Array<ArrayBuffer> to Int32Array fixes it temporarily. Function deploys after that.

Metadata

Metadata

Assignees

Labels

dependenciesPull requests that update a dependency filetype: bug

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions