#Installation not working - NPM Error

1 messages · Page 1 of 1 (latest)

fallow gust
#

I tried installing openclaude without scripts active before, that's why it says it's downloaded but for some reason it tells me this and I'm unable to fix it.

OpenClaw Installer

[OK] Windows detected
[] Existing OpenClaw installation detected
[OK] Node.js v24.15.0 found
[
] Installing OpenClaw (openclaw@latest)...
npm.cmd : npm error code ERR_INVALID_ARG_VALUE
In Zeile:718 Zeichen:9

  •     & $CommandPath @Arguments
    
  •     ~~~~~~~~~~~~~~~~~~~~~~~~~
    
    • CategoryInfo : NotSpecified: (npm error code ERR_INVALID_ARG_VALUE:String) [], RemoteException
    • FullyQualifiedErrorId : NativeCommandError
fossil hemlockBOT
#

To help others find answers, you can mark your question as solved via Right click solution message -> Apps -> ✅ Mark Solution

rich nebulaBOT
chrome jacinthBOT
# fallow gust I tried installing openclaude without scripts active before, that's why it says ...

This looks like npm is failing during the global install step, not OpenClaw itself yet. Since you previously installed with lifecycle scripts disabled, first reset npm’s script setting and reinstall cleanly from PowerShell:

npm config delete ignore-scripts
npm config set ignore-scripts false
npm config get ignore-scripts

npm uninstall -g openclaw
npm cache verify
npm install -g openclaw@latest --no-fund --no-audit
openclaw --version

If that works, run onboarding/install again:

chrome jacinthBOT
# fallow gust I tried installing openclaude without scripts active before, that's why it says ...
& ([scriptblock]::Create((iwr -useb https://openclaw.ai/install.ps1))) -NoOnboard

If it still throws ERR_INVALID_ARG_VALUE, paste these outputs:

node -v
npm -v
openclaw --version
npm config list
Get-ChildItem "$env:LOCALAPPDATA
pm-cache\_logs" | Sort-Object LastWriteTime -Descending | Select-Object -First 1 | Get-Content

Docs refs: https://docs.openclaw.ai/install/installer and https://docs.openclaw.ai/install/node.

fallow gust
#

Sorry for the double post, Discord was bugging and telling me it didn't send