运行 Serverless Framework CLI 时,如果 yaml 配置文件中默认引用了 Component 组件,则需要保证当前文件夹内容为空,才可以正确运行 Component 的安装命令。 您可以尝试在一个空文件夹中重新运行serverless create命令,则不会再出现该错误。
运行 Serverless Framework CLI 时,如果 yaml 配置文件中默认引用了 Component 组件,则需要保证当前文件夹内容为空,才可以正确运行 Component 的安装命令。 您可以尝试在一个空文件夹中重新运行serverless create命令,则不会再出现该错误。