Skip to content

fetch failed, unknown error #178

@mcascone

Description

@mcascone

Describe the bug

running with npx taze fails hard after installing itself:

❯ npx taze
Need to install the following packages:
[email protected]
Ok to proceed? (y) y

 ERROR 

> @actions/core unknown error
TypeError: fetch failed
> @actions/github unknown error
TypeError: fetch failed
> @emtn/actionslib unknown error
TypeError: fetch failed
> @vercel/ncc unknown error
TypeError: fetch failed
> dotenv unknown error
TypeError: fetch failed
> fs unknown error
TypeError: fetch failed
> fs-extra unknown error
TypeError: fetch failed
> js-yaml unknown error
TypeError: fetch failed
> shelljs unknown error
TypeError: fetch failed
> simple-git unknown error

...it goes on

Reproduction

npx taze

System Info

> npx envinfo --system --binaries --browsers

  System:
    OS: macOS 15.4.1
    CPU: (12) arm64 Apple M3 Pro
    Memory: 170.39 MB / 18.00 GB
    Shell: 5.2.37 - /opt/homebrew/bin/bash
  Binaries:
    Node: 22.12.0 - ~/.nvm/versions/node/v22.12.0/bin/node
    Yarn: 1.22.22 - /opt/homebrew/bin/yarn
    npm: 11.2.0 - ~/.nvm/versions/node/v22.12.0/bin/npm
    pnpm: 10.6.2 - /opt/homebrew/bin/pnpm
  Browsers:
    Chrome: 135.0.7049.96
    Edge: 135.0.3179.85
    Safari: 18.4

Used Package Manager

npm

Validations

  • Follow our Code of Conduct
  • Read the Contributing Guide.
  • Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
  • Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
  • The provided reproduction is a minimal reproducible of the bug.

Contributions

  • I am willing to submit a PR to fix this issue
  • I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions