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

Netlify builds failing to pull git sources from cache #16

Closed
jgaehring opened this issue Dec 10, 2021 · 1 comment
Closed

Netlify builds failing to pull git sources from cache #16

jgaehring opened this issue Dec 10, 2021 · 1 comment
Milestone

Comments

@jgaehring
Copy link
Member

I'm seeing this issue again, which I first mentioned in #8 (comment). From the Netlify logs:

12:32:19 PM: error fatal: No remote configured to list refs from.
12:32:19 PM: 
12:32:19 PM: 
12:32:19 PM:   Error: fatal: No remote configured to list refs from.
12:32:19 PM:   
12:32:19 PM:   - promise.js:90 toError
12:32:19 PM:     [repo]/[simple-git]/promise.js:90:14
12:32:19 PM:   
12:32:19 PM:   - promise.js:61 
12:32:19 PM:     [repo]/[simple-git]/promise.js:61:36
12:32:19 PM:   
12:32:19 PM:   - git.js:725 Git.<anonymous>
12:32:19 PM:     [repo]/[simple-git]/src/git.js:725:18
12:32:19 PM:   
12:32:19 PM:   - git.js:1475 Function.Git.fail
12:32:19 PM:     [repo]/[simple-git]/src/git.js:1475:18
12:32:19 PM:   
12:32:19 PM:   - git.js:1433 fail
12:32:19 PM:     [repo]/[simple-git]/src/git.js:1433:20
12:32:19 PM:   
12:32:19 PM:   - git.js:1442 
12:32:19 PM:     [repo]/[simple-git]/src/git.js:1442:16
12:32:19 PM:   
12:32:19 PM:   - task_queues.js:97 processTicksAndRejections
12:32:19 PM:     internal/process/task_queues.js:97:5

I believe this is the same as stevetweeddale/gatsby-source-git#24, and the workaround suggested there seems to do no harm at least if I run it locally, so I will try it out in production when I merge c165e24. 🤞

@jgaehring jgaehring added this to the beta milestone Dec 10, 2021
@jgaehring
Copy link
Member Author

Looks like that worked! 🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant