Skip to content

pi update silently stays on 0.74.1 under Node 20 due to Node >=22.19 requirement #4876

@choilive

Description

@choilive

What happened?

pi update appears to succeed, but leaves the installed version at 0.74.1 when running under Node 20.19.4.

The latest package is 0.75.4, but 0.75.x declares:
"engines": {
"node": ">=22.19.0"
}

0.74.1 only required Node >=20.6.0.

Could the Node requirement be relaxed back to Node 20 if there is no hard dependency on Node 22? If Node 22 is required, it would be helpful for pi update to detect this and print a clear message instead of reporting success while staying on the old version.

Steps to reproduce

$ pi --version
0.74.1

$ pi update
Updated packages
Updating pi with npm --prefix ... install -g @earendil-works/pi-coding-agent...
Updated pi

$ pi --version
0.74.1

Expected behavior

pi update would update from 0.74.x -> 0.75.x

Version

0.74.1

Metadata

Metadata

Assignees

Labels

bugSomething isn't workinginprogressIssue is being worked on

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions