-
Notifications
You must be signed in to change notification settings - Fork 51
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
opencv4nodejs install error on macos intel - binding.gyp not found #13
Comments
I am also having this issue. |
Seems that node-gyp is trying to rebuild on install. I had this working around exactly 20 days ago so I am guessing that it may be to do with the last commit. My method to get it working on an intel Mac was quite convoluted at that time: npm install --save @u4/opencv4nodejs However, I can't get past the initial npm install now, and none of the switches seem to disable the node-gyp rebuild command (except --dry-run, which is just a series of logs to the console). |
binding.gyp is hidden by default as _binding.gyp the build script copy it as binding.gyp during the custom build process. |
@UrielCh hi, could u install the package successfully on Nodejs v12.20.1? |
See This script properly configure environment before calling node-gyp rebuild. see: "bin": {
"build-opencv": "bin/install.js"
}, in package.json Hiding Update, that a feature: from: If there is a binding.gyp file in the root of your package and you have not defined an install or preinstall script, npm will default the install command to compile using node-gyp. |
Version 6.1.2 is out |
@UrielCh Tanks for the replay and work.
|
Send a PR. Feel free to edit. |
noooo, I need to made a new release :( |
Is the original issue still exists ? My Intel based MacOS is in a cupboard... |
I will try again tonight, sorry for the delay replay. |
@UrielCh The original issue has been fixed, the installation can be completed normally, thanks. |
opencv4nodejs install error on macos intel.
Is there something missing?
Error Message
OpenCV version : 4.5.4_4
With OpenCV-contrib? (extra modules): no
OS: MacOSX Intel
The text was updated successfully, but these errors were encountered: