-
Notifications
You must be signed in to change notification settings - Fork 60
Open
Description
cf构建不成功。老报下面的错误,创建了CLOUDFLARE_API_TOKEN也是报错了,这个CLOUDFLARE_API_TOKEN到底需要给什么权限
| 10:16:08.638 | ⛅️ wrangler 3.101.0 (update available 4.60.0) |
|---|---|
| 10:16:08.639 | ---------------------------------------------- |
| 10:16:08.639 | |
| 10:16:08.730 | ▲ [WARNING] The version of Wrangler you are using is now out-of-date. |
| 10:16:08.730 | |
| 10:16:08.730 | Please update to the latest version to prevent critical errors. |
| 10:16:08.731 | Run npm install --save-dev wrangler@4 to update to the latest version. |
| 10:16:08.731 | After installation, run Wrangler with npx wrangler. |
| 10:16:08.731 | |
| 10:16:08.731 | |
| 10:16:08.751 | |
| 10:16:08.753 | ✘ [ERROR] In a non-interactive environment, it's necessary to set a CLOUDFLARE_API_TOKEN environment variable for wrangler to work. Please go to https://developers.cloudflare.com/fundamentals/api/get-started/create-token/ for instructions on how to create an api token, and assign its value to CLOUDFLARE_API_TOKEN. |
| 10:16:08.753 | |
| 10:16:08.753 | |
| 10:16:08.753 | |
| 10:16:08.753 | Cloudflare collects anonymous telemetry about your usage of Wrangler. Learn more at https://github.com/cloudflare/workers-sdk/tree/main/packages/wrangler/telemetry.md |
| 10:16:08.777 | 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2026-01-23_02-16-08_133.log" |
| 10:16:08.866 | Failed: Error while executing user command. Exited with error code: 1 |
| 10:16:08.873 | Failed: build command exited with code: 1 |
| 10:16:10.554 | Failed: error occurred while running build command |
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels