skip to Main Content

I have this problem if I install serverless framework using npm install -g serverless I encounter this message in Chinese on my computer (windows 11).

once I ran serverless on the terminal I get this message

C:UsersUser>serverless
 当前未检测到 Serverless 项目,是否希望新建一个项目? Yes
 请选择你希望创建的 Serverless 应用 (Use arrow keys or type to search)
> generate-usersig-for-tencent-im - Generate usersig for Tencent Cloud IM.
  abc-starter
  fullstack
  laravel-starter - Laravel 项目模版
  flask-starter - Flask 项目模版
  eggjs-starter - Egg.js 项目模版
  koa-starter - Koa.js 项目模版
(Move up and down to reveal more choices)

Expected output is this:

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

2

Answers


  1. Chosen as BEST ANSWER

    I already fixed it. Just by changing my Date&TimeZone from Hongkong to Singapore UTC+8 and It worked for me.


  2. Any chance you’re located in China? serverless‘ "Getting Started" guide makes explicit mention of this as a feature:

    Note: users based in China get a setup centered around the chinese Tencent provider. To use AWS instead, set the following environment variable: SERVERLESS_PLATFORM_VENDOR=aws.

    As it mentions, simply set the environment variable as per their instructions to bypass this.

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search