我安装了node.js和无服务器框架。如果我输入:
serverless --version
它显示输出为1.26.1。但是,如果我运行以下命令:
serverless --create --template aws-python3 --name numpy
抛出o / p
Commands
* You can run commands with "serverless" or the shortcut "sls"
* Pass "--verbose" to this command to get in-depth plugin info
* Pass "--no-color" to disable CLI colors
* Pass "--help" after any <command> for contextual help
Framework
* Documentation: https://serverless.com/framework/docs/
我错过了什么?
答案 0 :(得分:0)
创建应该没有连字符 -
serverless create --template aws-python3 --name numpy