Skip to content

部署 cloudflare 出现 "Missing entry-point",请问如何解决? #267

@Asd777888

Description

@Asd777888

2025-12-23T10:57:00.202Z Initializing build environment...
2025-12-23T10:57:00.202Z Initializing build environment...
2025-12-23T10:57:03.326Z Success: Finished initializing build environment
2025-12-23T10:57:03.691Z Cloning repository...
2025-12-23T10:57:05.515Z Restoring from dependencies cache
2025-12-23T10:57:05.517Z Restoring from build output cache
2025-12-23T10:57:05.519Z Detected the following tools from environment: npm@10.9.2, nodejs@22.16.0
2025-12-23T10:57:05.761Z Installing project dependencies: npm clean-install --progress=false
2025-12-23T10:57:08.552Z npm warn deprecated rollup-plugin-inject@3.0.2: This package has been deprecated and is no longer maintained. Please use @rollup/plugin-inject.
2025-12-23T10:57:08.710Z npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
2025-12-23T10:57:08.749Z npm warn deprecated sourcemap-codec@1.4.8: Please use @jridgewell/sourcemap-codec instead
2025-12-23T10:57:08.857Z npm warn deprecated glob@8.1.0: Glob versions prior to v9 are no longer supported
2025-12-23T10:57:16.892Z
2025-12-23T10:57:16.892Z added 170 packages, and audited 171 packages in 10s
2025-12-23T10:57:16.892Z
2025-12-23T10:57:16.893Z 33 packages are looking for funding
2025-12-23T10:57:16.893Z run npm fund for details
2025-12-23T10:57:16.925Z
2025-12-23T10:57:16.925Z 13 vulnerabilities (3 low, 6 moderate, 3 high, 1 critical)
2025-12-23T10:57:16.925Z
2025-12-23T10:57:16.925Z To address issues that do not require attention, run:
2025-12-23T10:57:16.925Z npm audit fix
2025-12-23T10:57:16.925Z
2025-12-23T10:57:16.925Z To address all issues (including breaking changes), run:
2025-12-23T10:57:16.925Z npm audit fix --force
2025-12-23T10:57:16.925Z
2025-12-23T10:57:16.925Z Run npm audit for details.
2025-12-23T10:57:17.147Z Executing user deploy command: npx wrangler deploy
2025-12-23T10:57:18.140Z
2025-12-23T10:57:18.141Z ⛅️ wrangler 3.63.0 (update available 4.56.0)
2025-12-23T10:57:18.141Z ---------------------------------------------
2025-12-23T10:57:18.141Z
2025-12-23T10:57:18.677Z ▲ [WARNING] The version of Wrangler you are using is now out-of-date.
2025-12-23T10:57:18.680Z
2025-12-23T10:57:18.681Z Please update to the latest version to prevent critical errors.
2025-12-23T10:57:18.681Z Run npm install --save-dev wrangler@4 to update to the latest version.
2025-12-23T10:57:18.681Z After installation, run Wrangler with npx wrangler.
2025-12-23T10:57:18.681Z
2025-12-23T10:57:18.681Z
2025-12-23T10:57:18.681Z
2025-12-23T10:57:18.682Z ✘ [ERROR] Missing entry-point: The entry-point should be specified via the command line (e.g. wrangler deploy path/to/script) or the main config field.
2025-12-23T10:57:18.682Z
2025-12-23T10:57:18.682Z
2025-12-23T10:57:18.686Z 🪵 Logs were written to "/opt/buildhome/.config/.wrangler/logs/wrangler-2025-12-23_10-57-17_791.log"
2025-12-23T10:57:23.154Z Failed: error occurred while running deploy command

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions