gpt4 book ai didi

node.js - 我得到 - 错误 : Entry not found in cache - during sls deploy

转载 作者:行者123 更新时间:2023-12-05 04:53:56 25 4
gpt4 key购买 nike

我使用无服务器创建基本的 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

最佳答案

有点晚了,但删除对我有用的~/.azure/slsTokenCache.json文件

关于node.js - 我得到 - 错误 : Entry not found in cache - during sls deploy,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65916985/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com