帮我安装一下 opencv4nodejs 私信
有编译好的 ooencv,没报错,不确定是不是 opencv 的问题
报错:npm error code 1
npm error path D:\web\EasyToConstruct\pdfautodoc\code\node_modules\opencv4nodejs
npm error command failed
npm error command C:\Windows\system32\cmd.exe /d /s /c node ./install/install.js
npm error info the following opencv4nodejs environment variables are set in the package.json:
npm error info disableAutoBuild: 1
npm error info opencvLibDir: D:\web\EasyToConstruct\opencv\build\lib\Release
npm error info opencvBinDir: D:\web\EasyToConstruct\opencv\build\bin\Release
npm error info install using lib dir: D:/web/EasyToConstruct/opencv/build/lib/Release
npm error D:\web\EasyToConstruct\pdfautodoc\code\node_modules\opencv4nodejs\install\install.js:45
npm error throw new Error('no OpenCV libraries found in lib dir: ' + libDir)
npm error ^
npm error
npm error Error: no OpenCV libraries found in lib dir: D:/web/EasyToConstruct/opencv/build/lib/Release
npm error at Object. (D:\web\EasyToConstruct\pdfautodoc\code\node_modules\opencv4nodejs\install\install.js:45:9)
npm error at Module._compile (node:internal/modules/cjs/loader:1364:14)
npm error at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
npm error at Module.load (node:internal/modules/cjs/loader:1203:32)
npm error at Module._load (node:internal/modules/cjs/loader:1019:12)
npm error at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:128:12)
npm error at node:internal/main/run_main_module:28:49
npm error
npm error Node.js v18.20.4
npm error A complete log of this run can be found in: C:\Users\Administrator\AppData\Local\npm-cache_logs\2024-11-08T14_12_38_722Z-debug-0.log