twilio-labs / serverless-toolkit

CLI tool to develop, debug and deploy Twilio Functions

Home Page:https://www.twilio.com/docs/labs/serverless-toolkit

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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:

image

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)

picture of dog

Hello, that's weird. Are you able to run the following command?

npx gitignore Node

I did nothing ...It works well today....
image

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