{"action":"created","issue":{"url":"https://api.github.com/repos/peterbraden/node-opencv/issues/441","repository_url":"https://api.github.com/repos/peterbraden/node-opencv","labels_url":"https://api.github.com/repos/peterbraden/node-opencv/issues/441/labels{/name}","comments_url":"https://api.github.com/repos/peterbraden/node-opencv/issues/441/comments","events_url":"https://api.github.com/repos/peterbraden/node-opencv/issues/441/events","html_url":"https://github.com/peterbraden/node-opencv/issues/441","id":176079462,"number":441,"title":"MAC OSX 10.11.6 error","user":{"login":"hktalent","id":18223385,"avatar_url":"https://avatars.githubusercontent.com/u/18223385?v=3","gravatar_id":"","url":"https://api.github.com/users/hktalent","html_url":"https://github.com/hktalent","followers_url":"https://api.github.com/users/hktalent/followers","following_url":"https://api.github.com/users/hktalent/following{/other_user}","gists_url":"https://api.github.com/users/hktalent/gists{/gist_id}","starred_url":"https://api.github.com/users/hktalent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hktalent/subscriptions","organizations_url":"https://api.github.com/users/hktalent/orgs","repos_url":"https://api.github.com/users/hktalent/repos","events_url":"https://api.github.com/users/hktalent/events{/privacy}","received_events_url":"https://api.github.com/users/hktalent/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-09-09T18:40:51Z","updated_at":"2016-09-12T06:00:41Z","closed_at":null,"body":"npm install -g opencv\r\n\r\n> opencv@5.0.0 install /usr/local/lib/node_modules/opencv\r\n> node-pre-gyp install --fallback-to-build\r\n\r\n/usr/local/lib/node_modules/opencv/utils/find-opencv.js:21\r\n                throw new Error(\"ERROR: failed to run: pkg-config\", opencv, flag);\r\n                ^\r\n\r\nError: ERROR: failed to run: pkg-config\r\n    at /usr/local/lib/node_modules/opencv/utils/find-opencv.js:21:23\r\n    at ChildProcess.exithandler (child_process.js:213:5)\r\n    at emitTwo (events.js:106:13)\r\n    at ChildProcess.emit (events.js:191:7)\r\n    at maybeClose (internal/child_process.js:877:16)\r\n    at Socket.<anonymous> (internal/child_process.js:334:11)\r\n    at emitOne (events.js:96:13)\r\n    at Socket.emit (events.js:188:7)\r\n    at Pipe._handle.close [as _onclose] (net.js:493:12)\r\ngyp: Call to 'node utils/find-opencv.js --cflags' returned exit status 1 while in binding.gyp. while trying to load binding.gyp\r\ngyp ERR! configure error \r\ngyp ERR! stack Error: `gyp` failed with exit code: 1\r\ngyp ERR! stack     at ChildProcess.onCpExit (/usr/local/lib/node_modules/node-gyp/lib/configure.js:305:16)\r\ngyp ERR! stack     at emitTwo (events.js:106:13)\r\ngyp ERR! stack     at ChildProcess.emit (events.js:191:7)\r\ngyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:215:12)\r\ngyp ERR! System Darwin 15.6.0\r\ngyp ERR! command \"/usr/local/Cellar/node/6.5.0/bin/node\" \"/usr/local/lib/node_modules/node-gyp/bin/node-gyp.js\" \"configure\" \"--fallback-to-build\" \"--module=/usr/local/lib/node_modules/opencv/build/opencv/v5.0.0/Release/node-v48-darwin-x64/opencv.node\" \"--module_name=opencv\" \"--module_path=/usr/local/lib/node_modules/opencv/build/opencv/v5.0.0/Release/node-v48-darwin-x64\"\r\ngyp ERR! cwd /usr/local/lib/node_modules/opencv\r\ngyp ERR! node -v v6.5.0\r\ngyp ERR! node-gyp -v v3.4.0\r\ngyp ERR! not ok \r\nnode-pre-gyp ERR! build error \r\nnode-pre-gyp ERR! stack Error: Failed to execute '/usr/local/Cellar/node/6.5.0/bin/node /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/lib/node_modules/opencv/build/opencv/v5.0.0/Release/node-v48-darwin-x64/opencv.node --module_name=opencv --module_path=/usr/local/lib/node_modules/opencv/build/opencv/v5.0.0/Release/node-v48-darwin-x64' (1)\r\nnode-pre-gyp ERR! stack     at ChildProcess.<anonymous> (/usr/local/lib/node_modules/opencv/node_modules/node-pre-gyp/lib/util/compile.js:83:29)\r\nnode-pre-gyp ERR! stack     at emitTwo (events.js:106:13)\r\nnode-pre-gyp ERR! stack     at ChildProcess.emit (events.js:191:7)\r\nnode-pre-gyp ERR! stack     at maybeClose (internal/child_process.js:877:16)\r\nnode-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:226:5)\r\nnode-pre-gyp ERR! System Darwin 15.6.0\r\nnode-pre-gyp ERR! command \"/usr/local/Cellar/node/6.5.0/bin/node\" \"/usr/local/lib/node_modules/opencv/node_modules/.bin/node-pre-gyp\" \"install\" \"--fallback-to-build\"\r\nnode-pre-gyp ERR! cwd /usr/local/lib/node_modules/opencv\r\nnode-pre-gyp ERR! node -v v6.5.0\r\nnode-pre-gyp ERR! node-pre-gyp -v v0.6.17\r\nnode-pre-gyp ERR! not ok \r\nFailed to execute '/usr/local/Cellar/node/6.5.0/bin/node /usr/local/lib/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/usr/local/lib/node_modules/opencv/build/opencv/v5.0.0/Release/node-v48-darwin-x64/opencv.node --module_name=opencv --module_path=/usr/local/lib/node_modules/opencv/build/opencv/v5.0.0/Release/node-v48-darwin-x64' (1)\r\nnpm ERR! Darwin 15.6.0\r\nnpm ERR! argv \"/usr/local/Cellar/node/6.5.0/bin/node\" \"/usr/local/bin/npm\" \"install\" \"-g\" \"opencv\"\r\nnpm ERR! node v6.5.0\r\nnpm ERR! npm  v3.10.8\r\nnpm ERR! code ELIFECYCLE\r\n\r\nnpm ERR! opencv@5.0.0 install: `node-pre-gyp install --fallback-to-build`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the opencv@5.0.0 install script 'node-pre-gyp install --fallback-to-build'.\r\nnpm ERR! Make sure you have the latest version of node.js and npm installed.\r\nnpm ERR! If you do, this is most likely a problem with the opencv package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     node-pre-gyp install --fallback-to-build\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs opencv\r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR!     npm owner ls opencv\r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/peterbraden/node-opencv/issues/comments/246256567","html_url":"https://github.com/peterbraden/node-opencv/issues/441#issuecomment-246256567","issue_url":"https://api.github.com/repos/peterbraden/node-opencv/issues/441","id":246256567,"user":{"login":"hktalent","id":18223385,"avatar_url":"https://avatars.githubusercontent.com/u/18223385?v=3","gravatar_id":"","url":"https://api.github.com/users/hktalent","html_url":"https://github.com/hktalent","followers_url":"https://api.github.com/users/hktalent/followers","following_url":"https://api.github.com/users/hktalent/following{/other_user}","gists_url":"https://api.github.com/users/hktalent/gists{/gist_id}","starred_url":"https://api.github.com/users/hktalent/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hktalent/subscriptions","organizations_url":"https://api.github.com/users/hktalent/orgs","repos_url":"https://api.github.com/users/hktalent/repos","events_url":"https://api.github.com/users/hktalent/events{/privacy}","received_events_url":"https://api.github.com/users/hktalent/received_events","type":"User","site_admin":false},"created_at":"2016-09-12T06:00:41Z","updated_at":"2016-09-12T06:00:41Z","body":"$ pkg-config --cflags opencv\r\nPackage opencv was not found in the pkg-config search path.\r\nPerhaps you should add the directory containing `opencv.pc'\r\nto the PKG_CONFIG_PATH environment variable\r\nNo package 'opencv' found\r\n"}}
{"actor":{"display_login":"hktalent"}}