腾讯云 Serverless 应用中心常见问题 - 其他问题
文档简介:
Serverless Cloud Framework 报错 "component" input is requires to run custom methods 如何处理?
运行 Serverless Cloud Framework 时,如果 yml 配置文件中默认引用了 Component 组件,则需要保证当前文件夹内容为空,才可以正确运行 Component 的安装命令。
Serverless Cloud Framework 报错 "component" input is requires to run custom methods 如何处理?
运行 Serverless Cloud Framework 时,如果 yml 配置文件中默认引用了 Component 组件,则需要保证当前文件夹内容为空,才可以正确运行 Component 的安装命令。
您可以尝试在一个空文件夹中重新运行serverless-cloud-framework create命令,则不会再出现该错误。