You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This can reproed with a setup similar to the code in #6200 (comment).
Bun will list files in GCS just fine. Downloading files however does not work at all. Whenever I've attempted to download files in various ways using this npm library, the process just exits with code 0. I've also tried to use bun inspect with no success. In ever setup I've tried the process just exits with 0.
What is the expected behavior?
I'd expect to be able to use Bun along with @google-cloud/storage to download files from GCS
What do you see instead?
No response
Additional information
If it were possible to setup a shareable repro, I would, but I think since this involves using a GCP json key it's not easy to provide a super simple repro. I could maybe put together a repo with steps for setting up a GCS account that shows this issue?
The text was updated successfully, but these errors were encountered:
To just provide some proof of what I am seeing, here some screenshots of my code and how it executes. This bun command ultimately calls the code block seen here.
I have a similar issue with @google-cloud/storage, but in my case is saving a file to a bucket.
I've managed to track down the issue to a dependency:
TypeError: null is not an object
at node:1:8827
at parseKeys (node:1:8847)
at sign (node:1:8983)
at node:1:9127
at sign (/usr/src/app/node_modules/jwa/index.js:152:45)
at jwsSign (/usr/src/app/node_modules/jws/lib/sign-stream.js:32:24)
at /usr/src/app/node_modules/gtoken/build/src/index.js:224:31
at requestToken (/usr/src/app/node_modules/gtoken/build/src/index.js:212:26)
at getTokenAsyncInner (/usr/src/app/node_modules/gtoken/build/src/index.js:143:30)
at /usr/src/app/node_modules/gtoken/build/src/index.js:137:55
What version of Bun is running?
1.0.18
What platform is your computer?
Darwin 23.0.0 arm64 arm
What steps can reproduce the bug?
As pointed out in this thread. (#6200 (comment))
This can reproed with a setup similar to the code in #6200 (comment).
Bun will list files in GCS just fine. Downloading files however does not work at all. Whenever I've attempted to download files in various ways using this npm library, the process just exits with code 0. I've also tried to use bun inspect with no success. In ever setup I've tried the process just exits with 0.
What is the expected behavior?
I'd expect to be able to use Bun along with @google-cloud/storage to download files from GCS
What do you see instead?
No response
Additional information
If it were possible to setup a shareable repro, I would, but I think since this involves using a GCP json key it's not easy to provide a super simple repro. I could maybe put together a repo with steps for setting up a GCS account that shows this issue?
The text was updated successfully, but these errors were encountered: