justadudewhohacks / justadudewhohacks/opencv4nodejs
Can not install opencv4nodejs in Mac OS
- Dominant language
- C++
- Stars
- 5.1k
- Forks
- 826
- PR merge metrics
- No merged PRs in 30d
Description
I am getting this error and i have made node and npm version bold inside the error please check :
I am trying to installing this on MacOS Mojave 10.14.3
Getting below error at the end of the installation :
793 timing stage:rollbackFailedOptional Completed in 3425ms
794 timing stage:runTopLevelLifecycles Completed in 1078945ms
795 verbose stack Error: opencv-build@0.0.17 install: node ./install.js
795 verbose stack Exit status 1
795 verbose stack at EventEmitter. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/index.js:301:16)
795 verbose stack at EventEmitter.emit (events.js:197:13)
795 verbose stack at ChildProcess. (/usr/local/lib/node_modules/npm/node_modules/npm-lifecycle/lib/spawn.js:55:14)
795 verbose stack at ChildProcess.emit (events.js:197:13)
795 verbose stack at maybeClose (internal/child_process.js:978:16)
795 verbose stack at Process.ChildProcess._handle.onexit (internal/child_process.js:265:5)
796 verbose pkgid opencv-build@0.0.17
797 verbose cwd /Users/manishboricha/eclipse-workspace/Kings_iOS
798 verbose Darwin 18.2.0
799 verbose argv "/usr/local/Cellar/node/11.9.0/bin/node" "/usr/local/bin/npm" "i" "-g" "opencv4nodejs"
**800 verbose node v11.9.0
801 verbose npm v6.5.0**
802 error code ELIFECYCLE
803 error errno 1
804 error opencv-build@0.0.17 install: node ./install.js
804 error Exit status 1
805 error Failed at the opencv-build@0.0.17 install script.
805 error This is probably not a problem with npm. There is likely additional logging output above.
806 verbose exit [ 1, true ]
Contributor guide
Research direction
Start with the opencv-build install entry point, install.js, and the reported npm install command on macOS Mojave with Node 11.9.0 and npm 6.5.0. Inspect the installation output preceding the final ELIFECYCLE error to identify the underlying failure; done means the package installs successfully in the reported environment.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- build-system, computer-vision
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100