-
Notifications
You must be signed in to change notification settings - Fork 1
Closed
Description
我将此项目 git clone 到了本地。
安装说明上的步骤进行操作
# 填入你的 Miniflux API Endpoint、API Token
cp wrangler.example.toml wrangler.toml
# 安装依赖(推荐使用 Node.js 20+)
npm install
# 创建一个 KV namespace 并填入 ID 至 wrangler.toml
npx wrangler kv:namespace create API_CACHE_KV
# 部署到 Cloudflare Workers
npm run deploy
第一步 cp wrangler.example.toml wrangler.toml 修改文本文件没什么问题。
第二步 npm install 安装也完成了。
第三步 npx wrangler kv:namespace create API_CACHE_KV 就报错
⛅️ wrangler 3.33.0 (update available 3.67.1)
-------------------------------------------------------
✘ [ERROR] Processing wrangler.toml configuration:
- "kv_namespaces[0]" bindings should have a string "id" field but got
{"binding":"API_CACHE_KV","id":"","preview_id":""}.
请原谅我对现代前端工具对不了解,也不太清楚 cloudflare cli 工具的使用(虽然我有cf账号)。请问哪里出了问题,该如何解决?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels