-
-
Notifications
You must be signed in to change notification settings - Fork 206
Missing 'hasown' dependency - openclaw command fails to run #45
Copy link
Copy link
Closed
Description
Description:
Description
After successfully installing nix-openclaw via home-manager, the openclaw command fails with a missing module error.
Error
Error: Cannot find module 'hasown'
Require stack:
- /nix/store/.../openclaw-gateway-2026.1.8-2/lib/openclaw/node_modules/.pnpm/form-data@2.5.4/node_modules/form-data/lib/form_data.js
Steps to Reproduce
- Set up flake.nix using the agent-first template
- Run
nix run home-manager/master -- switch --flake .#<username> - Installation completes successfully
- Run
openclaw --version - Error occurs
System Info
- NixOS 25.05
- nix-openclaw commit: 1c70ed9
- openclaw-gateway version: 2026.1.8-2
- Node.js: v22.22.0
Expected Behavior
openclaw --version should display the version number.
Actual Behavior
Command fails with MODULE_NOT_FOUND error for 'hasown' package.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Type
Fields
Give feedbackNo fields configured for issues without a type.