news 2026/8/28 0:05:45

【openclawManager】openclaw一键安装工具 及配置工具 支持Windows Linux MacOS等 npm error code 3221225477解决

作者头像

张小明

前端开发工程师

1.2k 24
文章封面图
【openclawManager】openclaw一键安装工具 及配置工具 支持Windows Linux MacOS等 npm error code 3221225477解决

总结

需要先安装c++编译环境。这个没有一个很友好的提示。

工具 :https://github.com/miaoxworld/openclaw-manager

打开dashboard时 未授权:缺少网关令牌(打开仪表盘 URL 并粘贴到控制界面设置中令牌)【openclaw启动后,重新打开openclaw Manager再点dashboard就正常了。】

unauthorized: gateway token mismatch (open the dashboard URL and paste the token in Control UI settings)

用命令openclaw dashboard找到token

安装openclaw时,找不到模块。(需要外网才能下载)

OpenClaw 依赖的 node-llama-cpp 本地AI推理库 与你的系统不兼容。()

npm 在安装过程中 崩溃了,导致文件没安装完整

npm error path …node_modules\node-llama-cpp
npm error command failed
[node-llama-cpp] The prebuilt binary … not compatible with the current system

解决:

安装 Windows 编译环境

安装:

Visual Studio Build Tools

下载:

https://visualstudio.microsoft.com/visual-cpp-build-tools/

安装时勾选:

Desktop development with C++

否则 node-llama-cpp 编译不了。

或者自动安装所必需的c++环境
wingetinstall--idMicrosoft.VisualStudio.2022.BuildTools--force--override"--add Microsoft.VisualStudio.Component.VC.CMake.Project Microsoft.VisualStudio.Component.VC.CoreBuildTools Microsoft.VisualStudio.Component.VC.Tools.x86.x64 Microsoft.VisualStudio.Component.VC.ATL Microsoft.VisualStudio.Component.VC.ATLMFC Microsoft.VisualStudio.Component.VC.Llvm.ClangToolset Microsoft.VisualStudio.Component.VC.Llvm.Clang Microsoft.VisualStudio.Component.VC.Redist.14.Latest Microsoft.Component.VC.Runtime.UCRTSDK Microsoft.VisualStudio.Component.Windows10SDK Microsoft.VisualStudio.Component.Windows10SDK.20348"

或者直接从别的电脑复制过去。C:\Users\YourPC\AppData\Roaming\npm\node_modules

========================================OpenClaw 安装向导========================================正在安装 OpenClaw...npmwarn 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\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@mariozechner\\pi-coding-agent', npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\chenhao\AppData\Roaming\npm\node_modules\openclaw\node_modules\@mariozechner\pi-coding-agent'] { npm warn cleanup errno: -4048, npm warn cleanup code: 'EPERM', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: 'C:\\Users\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@mariozechner\\pi-coding-agent' npm warn cleanup } npm warn cleanup ], npm warn cleanup [ npm warn cleanup '\\\\?\\C:\\Users\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@line', npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\chenhao\AppData\Roaming\npm\node_modules\openclaw\node_modules\@line'] { npm warn cleanup errno: -4048, npm warn cleanup code: 'EPERM', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: 'C:\\Users\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@line' npm warn cleanup } npm warn cleanup ], npm warn cleanup [ npm warn cleanup '\\\\?\\C:\\Users\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules', npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\chenhao\AppData\Roaming\npm\node_modules\openclaw\node_modules\@buape\carbon\node_modules\discord-api-types\payloads\v9'] { npm warn cleanup errno: -4048, npm warn cleanup code: 'EPERM', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: 'C:\\Users\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw\\node_modules\\@buape\\carbon\\node_modules\\discord-api-types\\payloads\\v9' npm warn cleanup } npm warn cleanup ], npm warn cleanup [ npm warn cleanup '\\\\?\\C:\\Users\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw', npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\chenhao\AppData\Roaming\npm\node_modules\openclaw\extensions\memory-lancedb\node_modules\.ignored\openai\resources'] { npm warn cleanup errno: -4048, npm warn cleanup code: 'EPERM', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: 'C:\\Users\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw\\extensions\\memory-lancedb\\node_modules\\.ignored\\openai\\resources' npm warn cleanup } npm warn cleanup ], npm warn cleanup [ npm warn cleanup 'C:\\Users\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw', npm warn cleanup [Error: EPERM: operation not permitted, rmdir 'C:\Users\chenhao\AppData\Roaming\npm\node_modules\openclaw\extensions\memory-lancedb\node_modules\.ignored\openai\src\resources\beta'] { npm warn cleanup errno: -4048, npm warn cleanup code: 'EPERM', npm warn cleanup syscall: 'rmdir', npm warn cleanup path: 'C:\\Users\\chenhao\\AppData\\Roaming\\npm\\node_modules\\openclaw\\extensions\\memory-lancedb\\node_modules\\.ignored\\openai\\src\\resources\\beta' npm warn cleanup } npm warn cleanup ] npm warn cleanup ] npm error code 3221225477 npm error path C:\Users\chenhao\AppData\Roaming\npm\node_modules\openclaw\node_modules\node-llama-cpp npm error command failed npm error command C:\WINDOWS\system32\cmd.exe /d /s /c node ./dist/cli/cli.js postinstall npm error [node-llama-cpp] The prebuilt binary for platform "win" "x64" with Vulkan support is not compatible with the current system, falling back to using no GPU npm error A complete log of this run can be found in: C:\Users\chenhao\AppData\Local\npm-cache\_logs\2026-03-12T05_12_57_094Z-debug-0.log 初始化配置... node:internal/modules/cjs/loader:1459 throw err; ^ Error: Cannot find module 'C:\Users\chenhao\AppData\Roaming\npm\node_modules\openclaw\openclaw.mjs' at Module._resolveFilename (node:internal/modules/cjs/loader:1456:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1066:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1071:22) at Module._load (node:internal/modules/cjs/loader:1242:25) at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack: [] } Node.js v24.14.0 安装完成! node:internal/modules/cjs/loader:1459 throw err; ^ Error: Cannot find module 'C:\Users\chenhao\AppData\Roaming\npm\node_modules\openclaw\openclaw.mjs' at Module._resolveFilename (node:internal/modules/cjs/loader:1456:15) at defaultResolveImpl (node:internal/modules/cjs/loader:1066:19) at resolveForCJSWithHooks (node:internal/modules/cjs/loader:1071:22) at Module._load (node:internal/modules/cjs/loader:1242:25) at wrapModuleLoad (node:internal/modules/cjs/loader:255:19) at Module.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:154:5) at node:internal/main/run_main_module:33:47 { code: 'MODULE_NOT_FOUND', requireStack:[]}Node.js v24.14.0 按回车键关闭此窗口:

重装就成功了。

版权声明: 本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若内容造成侵权/违法违规/事实不符,请联系邮箱:809451989@qq.com进行投诉反馈,一经查实,立即删除!
网站建设 2026/8/28 0:05:06

OpenClaw爆火背后:30k Star、4万实例裸奔、CVE-2026-25253漏洞分析

导语 仅仅用了不到两个月,OpenClaw 的 GitHub Star 数就突破了 30 万,一举超越 React 成为史上增长最快的开源项目。这不仅是数据的狂欢,更是开发者对“本地 AI Agent”渴求的体现。然而,在这场技术盛宴的背后,隐藏着巨大的安全隐患和工程挑战。作为技术人,我们在拥抱新…

作者头像 李华
网站建设 2026/8/28 0:05:23

数字人制作工具哪个上手最快?2026年新手小白怎么选不踩坑

一、引言2026 年数字人制作工具迎来新一轮迭代,不少新手小白想入局数字人创作,却容易因选品不当踩坑,要么上手难度高耗时学习,要么功能与需求不匹配。选对数字人制作工具的关键,在于紧扣上手速度和场景适配两大核心&am…

作者头像 李华
网站建设 2026/8/28 0:01:40

hot 100 108. 将有序数组转换为二叉搜索树

将有序数组转换为二叉搜索树问题描述样例输入样例输出评测用例规模与约定解析参考程序难度等级问题描述 给你一个整数数组 nums ,其中元素已经按 升序 排列,请你将其转换为一棵 平衡 二叉搜索树。 样例输入 nums [-10,-3,0,5,9]样例输出 [0,-3,9,-10,…

作者头像 李华
网站建设 2026/7/14 17:05:10

简单的物联网开发如何选择现在的ai工具来编程

因为开发的东西简单 更多的是行业积累和更深的技术领悟,这些ai都不擅长,加上经理有限,咱们的选择也很简单,可靠够用即可.目前使用的是trae solo和codebudy, 最近几个星期龙虾很火,简单了解了下,对咱们行业肯定不能马上入坑,不能让子弹先飞一会,而让子弹先变成炮弹再说吧.我根据…

作者头像 李华