Skip to content

@fedify/cli doesn't work well after fedify init depends on different download source #623

@1673beta

Description

@1673beta

Summary

After execute fedify init with Fedify 2.0.5, it behaves differently depends on download source. I don't use configuration file that supported after Fedify 2.0.0.

Expected Behavior

Should behaves as documented

Actual Behavior

Behaves differently depends on download source:

  • Node.js(npm)
    • The framework selection screens appears first, not the runtime selection, and cannot select bare-bones.
  • Homebrew
    • After executed, it stucks after choosing directory.
  • Deno
    • Displays the error written in logs and cannot execute any fedify commands.

Environment

OS: macOS Tahoe 26.1
Runtime: Deno, Node.js, Homebrew
Runtime Version:

  • Deno 2.7.5
  • Node.js v22.15.0 / npm 10.9.2
  • Homebrew 5.1.0

Logs / Screenshots

Screenshot of installation and execution via Node.js (npm)
Image

Logs that displayed after run fedify init

$ fedify init
error: Uncaught (in promise) TypeError: The "path" argument must be of type string. Received undefined
export const PACKAGES_PATH = joinPath(
                             ^
    at assertPath (ext:deno_node/path/_util.ts:10:11)
    at join (ext:deno_node/path/_posix.ts:95:5)
    at https://jsr.io/@fedify/init/2.0.5/src/action/const.ts:3:30

Steps to Reproduce

A. install via npm

sudo npm install -g @fedify/cli
fedify init

B. Install via Homebrew

brew install fedify
fedify init

C. Install via deno

deno install \
  -gA \
  --unstable-fs --unstable-kv --unstable-temporal \
  -n fedify \
  jsr:@fedify/cli

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions