Skip to content

NPM Package @happier-dev/cli throws ERR_MODULE_NOT_FOUND for @happier-dev/release-runtime #103

@lucharo

Description

@lucharo

Description

When installing the CLI globally via NPM (npm install -g @happier-dev/cli), running the happier command immediately crashes with an ERR_MODULE_NOT_FOUND error.

Error Output

Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@happier-dev/release-runtime' imported from /path/to/node_modules/@happier-dev/cli/dist/index-BlfXS-Df.mjs

Root Cause

It appears that the internal dependency @happier-dev/release-runtime is not published to the public NPM registry (requesting it returns a 404). Because it's missing, the CLI fails to boot.

Workaround

Cloning the monorepo and linking the CLI locally via yarn cli:activate works perfectly, but the standard NPM install path is broken out of the box.

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