Skip to content

openclaw: depend on npm at runtime - #490

Open
calledtoconstruct wants to merge 2 commits into
omacom:masterfrom
calledtoconstruct:fix/openclaw-runtime-npm
Open

calledtoconstruct wants to merge 2 commits into
omacom:masterfrom
calledtoconstruct:fix/openclaw-runtime-npm

Conversation

@calledtoconstruct

Copy link
Copy Markdown

Fixes #421.

The Gateway user service spawns npm for plugin metadata and updates. npm was only in makedepends, so /usr/bin/npm is missing on installed systems; mise's npm is not on that unit's PATH.

Put npm in depends. It is also available in the build chroot, so a separate makedepends entry is not needed. pkgrel 1 → 2.

Validation: PATH=/usr/bin:/usr/local/bin:/bin command -v npm is ENOENT on this host. tests/openclaw-runtime-npm.sh passes.

The Gateway user service spawns npm for plugin metadata and updates.
mise's npm is not on that unit's PATH, and makedepends does not put
/usr/bin/npm on installed systems.

Fixes omacom#421
depends already pulls npm into the build chroot, so a second
makedepends entry is redundant.

Fixes omacom#421
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

openclaw: npm is missing at runtime from the Gateway service

1 participant