Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Found 2 errors in the same file, starting at: node_modules/@google-cloud/storage/build/cjs/src/crc32c.d.ts:6 #2572

Closed
ReactNativ opened this issue Jan 16, 2025 · 2 comments
Labels
api: storage Issues related to the googleapis/nodejs-storage API.

Comments

@ReactNativ
Copy link

ReactNativ commented Jan 16, 2025

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

6 declare const CRC32C_EXTENSION_TABLE: Int32Array;
~~~~~~~~~~~~~~~~~~~~~~~

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

115 static readonly CRC32C_EXTENSION_TABLE: Int32Array;

@product-auto-label product-auto-label bot added the api: storage Issues related to the googleapis/nodejs-storage API. label Jan 16, 2025
Copy link

Issue was opened with an invalid reproduction link. Please make sure the repository is a valid, publicly-accessible github repository, and make sure the url is complete (example: https://github.com/googleapis/google-cloud-node)

@gabmichels
Copy link

This is still a relevant issue btw.

It is still happening. If you are using typescript you can't deploy your functions via CLI. Some people had it solved by upgrading typescript beyond 5.7.3 but that didn't work for me. I had to change the Int32Array to Int32Array in the lines mentioned above to be able to deploy.

Here is another thread about this:
firebase/firebase-functions#1664

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
api: storage Issues related to the googleapis/nodejs-storage API.
Projects
None yet
Development

No branches or pull requests

2 participants