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

Could not download template. Ensure that you are using the latest version of Serverless Framework: Timeout awaiting 'request' for 30000ms #13336

Open
hugetiny opened this issue Aug 28, 2022 · 0 comments

Comments

@hugetiny
Copy link

现在官方文档,serverless的github中文文档都不对,根本无法创建工程

npm i serverless -g之后

serverless

Creating a new serverless project

? What do you want to make? (Use arrow keys)

AWS - Node.js - Starter
AWS - Node.js - HTTP API
AWS - Node.js - Scheduled Task
AWS - Node.js - SQS Worker
AWS - Node.js - Express API
AWS - Node.js - Express API with DynamoDB
AWS - Python - Starter
AWS - Python - HTTP API
AWS - Python - Scheduled Task
AWS - Python - SQS Worker
AWS - Python - Flask API
AWS - Python - Flask API with DynamoDB
Other

1.无论我环境变量还是当前目录创建一个.env设置SERVERLESS_PLATFORM_VENDOR=tencent都无法选择腾讯云的模板

2.我又尝试了

serverless create -t tencent-nodejs
又会报创建错误

PS C:\Users\hugetiny\vscode\tencent> serverless create -t tencent-nodejs
Environment: win32, node 16.16.0, framework 3.22.0, plugin 6.2.2, SDK 4.3.2
Docs: docs.serverless.com
Support: forum.serverless.com
Bugs: github.com/serverless/serverless/issues

Error:
Could not download template. Ensure that you are using the latest version of Serverless Framework: Timeout awaiting 'request' for 30000ms

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

No branches or pull requests

1 participant