Skip to content

[README 完善] pnpm install 报错 #23

@sean908

Description

@sean908

clone repo 执行 pnpm install 会报错

+ wrangler 4.19.1

. postinstall$ pnpm run cf-typegen
│ > smail-web@ cf-typegen /some/path/here/smail
│ > wrangler types
│ Proxy environment variables detected. We'll use your proxy for fetch reques…
│  ⛅️ wrangler 4.19.1 (update available 4.54.0)
│ ─────────────────────────────────────────────
│ ✘ [ERROR] No config file detected. This command requires a Wrangler configu…
│ 🪵  Logs were written to "/PATH/Library/Preferences/.wrangler/logs/wr…
│  ELIFECYCLE  Command failed with exit code 1.
└─ Failed in 4.2s at /some/path/here/smail
 ELIFECYCLE  Command failed with exit code 1.

似乎需要先执行 cp wrangler.example.jsonc wrangler.jsonc?

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