发布

  • fix(core): reduce error rate with dir validation and add more debugging data (#33887)

    frostbyte_neo 发布于 2025-12-16 22:15:42 +00:00

    This PR adds a validation to the directory prompt, so users should not
    hit the error as often. Only possible now if they pass the arg from CLI
    and they are in non-interactive mode.

    We also added some more data to help debug problems, such as node
    version, template/preset chosen, etc. And updated the message in
    "custom" preset prompt to align with the more effective "full platform"
    prompt.

    Note: Also update the error message (if it hits) to be the same in new
    flow and old flow.

    Related Issue(s)

    Closes NXC-3624


    Co-authored-by: Claude Opus 4.5 noreply@anthropic.com
    (cherry picked from commit cf7ecc9111)

    下载附件