mirror of
https://github.com/fsouza/fake-gcs-server.git
synced 2026-04-25 21:55:56 +03:00
[GH-ISSUE #218] Error: Could not load the default credentials #2191
Labels
No labels
bug
compatibility-issue
docker
documentation
enhancement
help wanted
needs information
pull-request
question
stale
unfortunate
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/fake-gcs-server#2191
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @Fruzenshtein on GitHub (Apr 20, 2020).
Original GitHub issue: https://github.com/fsouza/fake-gcs-server/issues/218
I was playing around with the docker
fake-gcs-server. Based on nodeJS example from this repo, I copy-pasted the sample code and modified it a little:When I run it, I got:
@fsouza commented on GitHub (Apr 20, 2020):
Hi @Fruzenshtein, thanks for opening this issue! This is interesting, the bucket creation succeeds but it looks like when you call
bucket.file()the SDK doesn't persist the client configuration. You probably need to dig into their docs or source code on how to properly set that.Closing as this appears to be an issue with the SDK, not the server.
@fsfarah commented on GitHub (Jul 16, 2020):
Hi, I found out that adding
{resumable:false}when creating a writestream workssource: https://github.com/googleapis/nodejs-storage/issues/898