Skip to content

Fix autify update with Windows and brew #128

@riywo

Description

@riywo

On Windows:

Run autify update
@autifyhq/autify-cli: Updating CLI... not updatable

With brew on GitHub Actions:

Run autify update
@autifyhq/autify-cli: Updating CLI... fetching manifest

@autifyhq/autify-cli: Updating CLI from 0.10.0-beta.0 to 0.10.0-beta.0-2f002ba (beta)... done
node:internal/process/promises:2[7](https://github.com/autifyhq/autify-cli/actions/runs/3031442476/jobs/4878335436#step:8:8)[9](https://github.com/autifyhq/autify-cli/actions/runs/3031442476/jobs/4878335436#step:8:10)
            triggerUncaughtException(err, true /* fromPromise */);
            ^

[Error: ENOENT: no such file or directory, open '/Users/runner/.local/share/autify/channel'] {
  errno: -2,
  code: 'ENOENT',
  syscall: 'open',
  path: '/Users/runner/.local/share/autify/channel'
}

Note: autify update works on my macOS laptop (autify is installed via brew).

GitHub Actions example: https://github.com/autifyhq/autify-cli/actions/runs/3031442476

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