【发布时间】:2021-05-01 03:50:31
【问题描述】:
我使用无服务器创建基本的 azure nodejs 模板
serverless create --template azure-nodejs --name azure-crud
之后我不会更改代码中的任何内容,而是尝试我运行的基本内容
sls deploy
但是当我运行这个命令时,我在 cmd 中得到了这个错误
Serverless: Initializing provider configuration...
Serverless: Configuration warning: Unrecognized provider 'azure'
Serverless:
Serverless: You're relying on provider plugin which doesn't provide a validation schema for its config.
Serverless: Please report the issue at its bug tracker linking: https://www.serverless.com/framework/docs/providers/aws/guide/plugins#extending-validation-schema
Serverless: You may turn off this message with "configValidationMode: off" setting
Serverless:
Serverless: Parsing Azure Functions Bindings.json...
Serverless: Parsing Azure Functions Bindings.json...
Serverless: Building binding for function: hello event: httpTrigger
Serverless: Building binding for function: goodbye event: httpTrigger
Serverless: Packaging service...
Serverless: Excluding development dependencies...
Serverless: Logging into Azure
Serverless: Using subscription ID: xxx
Serverless: Creating resource group: some-resource-group
Error --------------------------------------------------
Error: Entry not found in cache.
它会取消部署过程。我应该怎么做才能使这件事起作用?问题出在哪里?
我有这个 sls 版本
Framework Core: 1.80.0
Plugin: 3.8.1
SDK: 2.3.1
Components: 2.34.9
【问题讨论】:
标签: node.js azure serverless