hkmem.dll HKBus.dll HistoryExplorer.dll HistoryEventHandler.dll HistoricalDebuggerMargin.resourc

在使用电脑系统时经常会出现丢失找不到某些文件的情况,由于很多常用软件都是采用 Microsoft Visual Studio 编写的,所以这类软件的运行需要依赖微软Visual C++运行库,比如像 QQ、迅雷、Adobe 软件等等,如果没有安装VC++运行库或者安装的版本不完整,就可能会导致这些软件启动时报错,提示缺少库文件。

如果我们遇到关于文件在系统使用过程中提示缺少找不到的情况,如果文件是属于运行库文件的可以单独下载文件解决,但还是建议安装完整的运行库,可以尝试采用手动下载替换的方法解决问题!

方法1:使用软件工具免费下载 需要的文件,想要修复丢失文件,那就要下载一个好的文件,并放在指定的文件夹中(程序安装目录或系统目录),就可以解决问题了!

下面我们通过使用一款DLL修复工具免费下载需要的文件

下载地址1 我们可以通过优快云下载https://download.youkuaiyun.com/download/2508_90661607/90392235

下载地址2 直接下载https://download.youkuaiyun.com/download/2508_90661607/90392235

下载安装完成后,打开软件,然后点击界面左侧的“文件下载”,接着在软件界面右侧文本框中输入我们要下载的文件名,然后点击右边的下载按钮。

 



文件下载完成后,下方列表会有很多个不同版本的文件,这里所有文件都是免费可下载的,我们根据自己所需要的版本文件,点击右边的“打开”,这样就找到了下载的文件

x86 表示32位文件:
 



X64 表示64位文件:
 



现在电脑基本上都是64位系统,那就将32位dll文件放到“C:\Windows\SysWOW64”这个文件夹里面
将64位文件,放到“C:\Windows\System32”这个文件夹里面
,如图所示:

 



另外还有一种情况需要注意!
另外还有一种情况需要注意!
另外还有一种情况需要注意!
“C:\Windows\SysWOW64” 有这个dll,但是“C:\Windows\System32” 没有
这个时候也需要把64位dll复制到“C:\Windows\System32”
确实有人遇到这种情况:

 



以上只是通用的运行库dll处理方式,如果你遇到缺失文件是第三方的软件文件,那么就需要下载到属于这个程序所匹配的版本的文件,然后将这个文件复制到这个程序的安装目录下才能解决问题。​

npm ERR! code 1 npm ERR! path C:\Users\Administrator\Desktop\lishiguancangxitong\src\main\resources\admin\admin\node_modules\canvas npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build --update-binary npm ERR! Warning: Missing input files: npm ERR! C:\GTK\bin\libcairo-2.dll npm ERR! C:\GTK\bin\libpango-1.0-0.dll npm ERR! C:\GTK\bin\libfreetype-6.dll npm ERR! C:\GTK\bin\libintl-8.dll npm ERR! C:\GTK\bin\zlib1.dll npm ERR! C:\GTK\bin\libexpat-1.dll npm ERR! C:\GTK\bin\libpangowin32-1.0-0.dll npm ERR! C:\GTK\bin\libpangoft2-1.0-0.dll npm ERR! C:\GTK\bin\libfontconfig-1.dll npm ERR! C:\GTK\bin\libgmodule-2.0-0.dll npm ERR! C:\GTK\bin\libpangocairo-1.0-0.dll npm ERR! C:\GTK\bin\libgthread-2.0-0.dll npm ERR! C:\GTK\bin\libgobject-2.0-0.dll npm ERR! C:\GTK\bin\libglib-2.0-0.dll npm ERR! C:\GTK\bin\libpng14-14.dll npm ERR! npm ERR! Backend.cc npm ERR! C:\Users\Administrator\Desktop\lishiguancangxitong\src\main\resources\admin\admin\node_modules\canvas\src\backend\Backend.h(3,10): error C1083: 无法打开包括文件: “cairo.h”: No such file or directory [C:\Users\Administrator\Desktop\lishiguancangxitong\src\main\resources\admin\admin\node_modules\canvas\build\canvas.vcxproj] npm ERR! (编译源文件“../src/backend/Backend.cc”) npm ERR! npm ERR! Failed to execute 'F:\11111\Node.js\node.exe F:\11111\Node.js\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --update-binary --module=C:\Users\Administrator\Desktop\lishiguancangxitong\src\main\resourc es\admin\admin\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Administrator\Desktop\lishiguancangxitong\src\main\resources\admin\admin\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@1.0.11 npm ERR! node-pre-gyp info using node@20.11.0 | win32 | x64 npm ERR! node-pre-gyp http GET https://github.com/Automattic/node-canvas/releases/download/v2.9.3/canvas-v2.9.3-node-v115-win32-unknown-x64.tar.gz npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.9.3/canvas-v2.9.3-node-v115-win32-unknown-x64.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not installable for canvas@2.9.3 and node@20.11.0 (node-v115 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://github.com/Automattic/node-canvas/releases/download/v2.9.3/canvas-v2.9.3-node-v115-win32-unknown-x64.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@10.0.1 npm ERR! gyp info using node@20.11.0 | win32 | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@10.0.1 npm ERR! gyp info using node@20.11.0 | win32 | x64 npm ERR! gyp info find Python using Python version 3.8.10 found at "F:\11111\Python\python.exe" npm ERR! gyp info find VS using VS2022 (17.14.36705.20) found at: npm ERR! gyp info find VS "F:\11111\Visual Studio" npm ERR! gyp info find VS run with --verbose for detailed information npm ERR! gyp info spawn F:\11111\Python\python.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'F:\\11111\\Node.js\\node_modules\\npm\\node_modules\\node-gyp\\gyp\\gyp_main.py', npm ERR! gyp info spawn args 'binding.gyp', npm ERR! gyp info spawn args '-f', npm ERR! gyp info spawn args 'msvs', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\\Users\\Administrator\\Desktop\\lishiguancangxitong\\src\\main\\resources\\admin\\admin\\node_modules\\canvas\\build\\config.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'F:\\11111\\Node.js\\node_modules\\npm\\node_modules\\node-gyp\\addon.gypi', npm ERR! gyp info spawn args '-I', npm ERR! gyp info spawn args 'C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\20.11.0\\include\\node\\common.gypi', npm ERR! gyp info spawn args '-Dlibrary=shared_library', npm ERR! gyp info spawn args '-Dvisibility=default', npm ERR! gyp info spawn args '-Dnode_root_dir=C:\\Users\\Administrator\\AppData\\Local\\node-gyp\\Cache\\20.11.0', npm ERR! gyp info spawn args '-Dnode_gyp_dir=F:\\11111\\Node.js\\node_modules\\npm\\node_modules\\node-gyp', npm ERR! gyp info spawn args '-Dnode_lib_file=C:\\\\Users\\\\Administrator\\\\AppData\\\\Local\\\\node-gyp\\\\Cache\\\\20.11.0\\\\<(target_arch)\\\\node.lib', npm ERR! gyp info spawn args '-Dmodule_root_dir=C:\\Users\\Administrator\\Desktop\\lishiguancangxitong\\src\\main\\resources\\admin\\admin\\node_modules\\canvas', npm ERR! gyp info spawn args '-Dnode_engine=v8', npm ERR! gyp info spawn args '--depth=.', npm ERR! gyp info spawn args '--no-parallel', npm ERR! gyp info spawn args '--generator-output', npm ERR! gyp info spawn args 'C:\\Users\\Administrator\\Desktop\\lishiguancangxitong\\src\\main\\resources\\admin\\admin\\node_modules\\canvas\\build', npm ERR! gyp info spawn args '-Goutput_dir=.' npm ERR! gyp info spawn args ] npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@10.0.1 npm ERR! gyp info using node@20.11.0 | win32 | x64 npm ERR! gyp info spawn F:\11111\Visual Studio\MSBuild\Current\Bin\MSBuild.exe npm ERR! gyp info spawn args [ npm ERR! gyp info spawn args 'build\\binding.sln', npm ERR! gyp info spawn args '/clp:Verbosity=minimal', npm ERR! gyp info spawn args '/nologo', npm ERR! gyp info spawn args '/p:Configuration=Release;Platform=x64' npm ERR! gyp info spawn args ] npm ERR! gyp ERR! build error npm ERR! gyp ERR! stack Error: `F:\11111\Visual Studio\MSBuild\Current\Bin\MSBuild.exe` failed with exit code: 1 npm ERR! gyp ERR! stack at ChildProcess.<anonymous> (F:\11111\Node.js\node_modules\npm\node_modules\node-gyp\lib\build.js:209:23) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:518:28) npm ERR! gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:294:12) npm ERR! gyp ERR! System Windows_NT 10.0.26100 npm ERR! gyp ERR! command "F:\\11111\\Node.js\\node.exe" "F:\\11111\\Node.js\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "build" "--fallback-to-build" "--update-binary" "--module=C:\\Users\\Administrator\\Desktop\\lishiguancan gxitong\\src\\main\\resources\\admin\\admin\\node_modules\\canvas\\build\\Release\\canvas.node" "--module_name=canvas" "--module_path=C:\\Users\\Administrator\\Desktop\\lishiguancangxitong\\src\\main\\resources\\admin\\admin\\node_modules\\canvas\\build\\Release" "--napi_version=9" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v115" npm ERR! gyp ERR! cwd C:\Users\Administrator\Desktop\lishiguancangxitong\src\main\resources\admin\admin\node_modules\canvas npm ERR! gyp ERR! node -v v20.11.0 npm ERR! gyp ERR! node-gyp -v v10.0.1 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'F:\11111\Node.js\node.exe F:\11111\Node.js\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js build --fallback-to-build --update-binary --module=C:\Users\Administrator\Desktop\lishi guancangxitong\src\main\resources\admin\admin\node_modules\canvas\build\Release\canvas.node --module_name=canvas --module_path=C:\Users\Administrator\Desktop\lishiguancangxitong\src\main\resources\admin\admin\node_modules\canvas\build\Release --napi_version=9 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v115' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\Administrator\Desktop\lishiguancangxitong\src\main\resources\admin\admin\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:518:28) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1105:16) npm ERR! node-pre-gyp ERR! stack at ChildProcess._handle.onexit (node:internal/child_process:305:5) npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.26100 npm ERR! node-pre-gyp ERR! command "F:\\11111\\Node.js\\node.exe" "C:\\Users\\Administrator\\Desktop\\lishiguancangxitong\\src\\main\\resources\\admin\\admin\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" "--update-binary" npm ERR! node-pre-gyp ERR! cwd C:\Users\Administrator\Desktop\lishiguancangxitong\src\main\resources\admin\admin\node_modules\canvas npm ERR! node-pre-gyp ERR! node -v v20.11.0 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.11 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: F:\11111\Node.js\node_cache\_logs\2025-11-15T06_47_16_792Z-debug-0.log
最新发布
11-16
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值