Summary
@happier-dev/cli@0.1.0 (the first non-preview release) crashes immediately on every command with:
Error [ERR_MODULE_NOT_FOUND]: Cannot find package '@happier-dev/release-runtime'
imported from /Users/…/node_modules/@happier-dev/cli/dist/index.mjs
Reproduction
npm install -g @happier-dev/cli@latest # installs 0.1.0
happier session list # crashes
happier daemon --help # crashes
happier --version # crashes
Cause
package.json lists workspace dependencies at version 0.0.0 that weren't bundled into the npm tarball:
@happier-dev/release-runtime: 0.0.0
@happier-dev/agents: 0.0.0
@happier-dev/cli-common: 0.0.0
@happier-dev/protocol: 0.0.0
These are monorepo workspace packages that need to be either bundled into the dist or published as separate npm packages.
Workaround
Downgrade to the last working preview:
npm install -g @happier-dev/cli@0.1.0-preview.1771774953.99369
Environment
- Node: v20.19.5
- OS: macOS (Darwin 25.2.0)
- Previous working version:
0.1.0-preview.1771774953.99369
Summary
@happier-dev/cli@0.1.0(the first non-preview release) crashes immediately on every command with:Reproduction
Cause
package.jsonlists workspace dependencies at version0.0.0that weren't bundled into the npm tarball:@happier-dev/release-runtime: 0.0.0@happier-dev/agents: 0.0.0@happier-dev/cli-common: 0.0.0@happier-dev/protocol: 0.0.0These are monorepo workspace packages that need to be either bundled into the dist or published as separate npm packages.
Workaround
Downgrade to the last working preview:
Environment
0.1.0-preview.1771774953.99369