Could not download .gitignore file
siw1234 opened this issue · comments
Hi, when I run this command under vscode command line: twilio serverless:init mytest
there comes a issue:
Could not download .gitignore file
How do I fix it?
Below is all the information:
PS E:\TwilioFunctionTest> twilio serverless:init mytest
✔ Creating project directory
✔ Creating project directories and files
✖ Could not download .gitignore file
⠏ Cleaning up project directories and filesnode:internal/process/promises:279
triggerUncaughtException(err, true /* fromPromise */);
^
[Error: EBUSY: resource busy or locked, rmdir 'E:\TwilioFunctionTest\mytest'] {
errno: -4082,
code: 'EBUSY',
syscall: 'rmdir',
path: 'E:\\TwilioFunctionTest\\mytest'
}
PS E:\TwilioFunctionTest>
Thank you so much for opening your first issue in this project! We'll try to get back to it as quickly as possible. While you are waiting...here's a random picture of a corgi (powered by dog.ceo)
Hello, that's weird. Are you able to run the following command?
npx gitignore Node
Glad it works now! Might have been a network error either on your side or on GitHub's (as that's where the gitignore files are downloaded from).
Thanks for letting us know.
185.199.108.133 raw.githubusercontent.com
add it to /etc/hosts