Sponsored By
















728x90

오픈클로 설치 관련하여 여러가지 잘나온 블로그들 많지만,

설치하다가 고생(?)한 부분에 공유해보고자 한다.

 

 

1. 패키지가 자꾸 설치가 안되는 경우,

PS C:\Users> npm i -g openclaw

added 1 package in 3s

 

위에처럼 1개의 패키지만 다운로드 받아지고, 실제로 해당 위치에 가면 오픈클로 패키지기 없는것을 확인할 수 있다.

# 디렉토리에서 패키지 존재여부 확인방법(윈도우용): 

PS C:\Users> dir C:\Users\AppData\Roaming\npm\node_modules\openclaw\


    디렉터리: C:\Users\AppData\Roaming\npm\node_modules\openclaw


Mode                 LastWriteTime         Length Name
----                 -------------         ------ ----
-a----      2026-02-23  오전 10:05             21 index.js
-a----      2026-02-23  오전 10:05            193 package.json
-a----      2026-02-23  오전 10:05             39 README.md

 

 

2. 해결방안이 2가지가 있다.

첫째, node.js의 버전을 22버전으로 설치하고,

둘째, OpenClaw 설치할때 OpenClaw의 버전을 특정해서 설치해준다.

 

 

방법:

(1) Node.js 설치 -> 웹페이지에서 22.22 LITE버전을 다운받아서 설치

바로가기: https://nodejs.org/ko/download

Windows설치 프로그램(.msi)를 다운받아서 설치한다.

 

(2)이렇게 에러가 뜨는데도 불구하고, 패키지는 설치되면서 잘 작동한다.

PS C:\Users> npm i -g openclaw@2026.2.21-2
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.
npm warn deprecated npmlog@5.0.1: This package is no longer supported.
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated gauge@3.0.2: This package is no longer supported.
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn cleanup Failed to remove some directories [
npm warn cleanup   [
npm warn cleanup     '\\\\?\\C:\\Users\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@buape',
npm warn cleanup     [Error: EPERM: operation not permitted, rmdir 'C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@buape\carbon\node_modules\discord-api-types\payloads\v8\_interactions\_applicationCommands'] {
npm warn cleanup       errno: -4048,
npm warn cleanup       code: 'EPERM',
npm warn cleanup       syscall: 'rmdir',
npm warn cleanup       path: 'C:\\Users\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@buape\\carbon\\node_modules\\discord-api-types\\payloads\\v8\\_interactions\\_applicationCommands'
npm warn cleanup     }
npm warn cleanup   ],
npm warn cleanup   [
npm warn cleanup     'C:\\Users\\AppData\\Roaming\\npm\\node_modules\\openclaw',
npm warn cleanup     [Error: EPERM: operation not permitted, rmdir 'C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@aws-sdk\client-sso'] {
npm warn cleanup       errno: -4048,
npm warn cleanup       code: 'EPERM',
npm warn cleanup       syscall: 'rmdir',
npm warn cleanup       path: 'C:\\Users\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@aws-sdk\\client-sso'
npm warn cleanup     }
npm warn cleanup   ],
npm warn cleanup   [
npm warn cleanup     '\\\\?\\C:\\Users\\AppData\\Roaming\\npm\\node_modules\\openclaw',
npm warn cleanup     [Error: EPERM: operation not permitted, rmdir 'C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@buape\carbon\node_modules\discord-api-types'] {
npm warn cleanup       errno: -4048,
npm warn cleanup       code: 'EPERM',
npm warn cleanup       syscall: 'rmdir',
npm warn cleanup       path: 'C:\\Users\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@buape\\carbon\\node_modules\\discord-api-types'
npm warn cleanup     }
npm warn cleanup   ]
npm warn cleanup ]
npm error code 1
npm error path C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@discordjs\opus
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build
npm error Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@discordjs\opus\prebuild\node-v127-napi-v3-win32-x64-unknown-unknown\opus.node --module_name=opus --module_path=C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@discordjs\opus\prebuild\node-v127-napi-v3-win32-x64-unknown-unknown --napi_version=10 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm error node-pre-gyp info it worked if it ends with ok
npm error node-pre-gyp info using node-pre-gyp@0.4.5
npm error node-pre-gyp info using node@22.22.0 | win32 | x64
npm error node-pre-gyp info check checked for "C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@discordjs\opus\prebuild\node-v127-napi-v3-win32-x64-unknown-unknown\opus.node" (not found)
npm error node-pre-gyp http GET https://github.com/discordjs/opus/releases/download/v0.10.0/opus-v0.10.0-node-v127-napi-v3-win32-x64-unknown-unknown.tar.gz
npm error node-pre-gyp ERR! install request to https://github.com/discordjs/opus/releases/download/v0.10.0/opus-v0.10.0-node-v127-napi-v3-win32-x64-unknown-unknown.tar.gz failed, reason: self-signed certificate in certificate chain
npm error node-pre-gyp WARN Pre-built binaries not installable for @discordjs/opus@0.10.0 and node@22.22.0 (node-v127 ABI, unknown) (falling back to source compile with node-gyp)
npm error node-pre-gyp WARN Hit error request to https://github.com/discordjs/opus/releases/download/v0.10.0/opus-v0.10.0-node-v127-napi-v3-win32-x64-unknown-unknown.tar.gz failed, reason: self-signed certificate in certificate chain
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@11.2.0
npm error gyp info using node@22.22.0 | win32 | x64
npm error gyp info ok
npm error gyp info it worked if it ends with ok
npm error gyp info using node-gyp@11.2.0
npm error gyp info using node@22.22.0 | win32 | x64
npm error gyp info find Python using Python version 3.13.5 found at "C:\Users\AppData\Local\Programs\Python\Python313\python.exe"
npm error gyp http GET https://nodejs.org/download/release/v22.22.0/node-v22.22.0-headers.tar.gz
npm error gyp http fetch GET https://nodejs.org/download/release/v22.22.0/node-v22.22.0-headers.tar.gz attempt 1 failed with SELF_SIGNED_CERT_IN_CHAIN
npm error gyp WARN install got an error, rolling back install
npm error gyp ERR! configure error
npm error gyp ERR! stack FetchError: request to https://nodejs.org/download/release/v22.22.0/node-v22.22.0-headers.tar.gz failed, reason: self-signed certificate in certificate chain
npm error gyp ERR! stack at ClientRequest.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\minipass-fetch\lib\index.js:130:14)
npm error gyp ERR! stack at ClientRequest.emit (node:events:519:28)
npm error gyp ERR! stack at emitErrorEvent (node:_http_client:107:11)
npm error gyp ERR! stack at _destroy (node:_http_client:954:9)
npm error gyp ERR! stack at onSocketNT (node:_http_client:974:5)
npm error gyp ERR! stack at process.processTicksAndRejections (node:internal/process/task_queues:91:21)
npm error gyp ERR! System Windows_NT 10.0.19044
npm error gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@discordjs\\opus\\prebuild\\node-v127-napi-v3-win32-x64-unknown-unknown\\opus.node" "--module_name=opus" "--module_path=C:\\Users\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@discordjs\\opus\\prebuild\\node-v127-napi-v3-win32-x64-unknown-unknown" "--napi_version=10" "--node_abi_napi=napi" "--napi_build_version=3" "--node_napi_label=napi-v3"
npm error gyp ERR! cwd C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@discordjs\opus
npm error gyp ERR! node -v v22.22.0
npm error gyp ERR! node-gyp -v v11.2.0
npm error gyp ERR! not ok
npm error node-pre-gyp ERR! build error
npm error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@discordjs\opus\prebuild\node-v127-napi-v3-win32-x64-unknown-unknown\opus.node --module_name=opus --module_path=C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@discordjs\opus\prebuild\node-v127-napi-v3-win32-x64-unknown-unknown --napi_version=10 --node_abi_napi=napi --napi_build_version=3 --node_napi_label=napi-v3' (1)
npm error node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@discordjs\node-pre-gyp\lib\util\compile.js:85:20)
npm error node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:519:28)
npm error node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1101:16)
npm error node-pre-gyp ERR! stack     at ChildProcess._handle.onexit (node:internal/child_process:304:5)
npm error node-pre-gyp ERR! System Windows_NT 10.0.19044
npm error node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@discordjs\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"
npm error node-pre-gyp ERR! cwd C:\Users\AppData\Roaming\npm\node_modules\openclaw\node_modules\@discordjs\opus
npm error node-pre-gyp ERR! node -v v22.22.0
npm error node-pre-gyp ERR! node-pre-gyp -v v0.4.5
npm error node-pre-gyp ERR! not ok
npm error A complete log of this run can be found in: C:\Users\AppData\Local\npm-cache\_logs\2026-02-23T01_25_25_141Z-debug-0.log
npm warn deprecated inflight@1.0.6: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. C:\Users> npm i -g openclaw@2026.2.21-2 --ignore-scripts
npm warn deprecated npmlog@5.0.1: This package is no longer supported.
npm warn deprecated npmlog@6.0.2: This package is no longer supported.
npm warn deprecated rimraf@3.0.2: Rimraf versions prior to v4 are no longer supported
npm warn deprecated glob@7.2.3: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated are-we-there-yet@3.0.1: This package is no longer supported.
npm warn deprecated are-we-there-yet@2.0.0: This package is no longer supported.
npm warn deprecated gauge@4.0.4: This package is no longer supported.
npm warn deprecated gauge@3.0.2: This package is no longer supported.
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated tar@6.2.1: Old versions of tar are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me
npm warn deprecated node-domexception@1.0.0: Use your platform's native DOMException instead
npm warn deprecated glob@10.5.0: Old versions of glob are not supported, and contain widely publicized security vulnerabilities, which have been fixed in the current version. Please update. Support for old versions may be purchased (at exorbitant rates) by contacting i@izs.me

added 697 packages, and changed 1 package in 3m

127 packages are looking for funding
  run `npm fund` for details

 

 

 

 

 

 

728x90


Sponsored By















+ Recent posts