-
Notifications
You must be signed in to change notification settings - Fork 853
Problem while installing this package on Heroku #404
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
Comments
You need to add multiple buildpacks when building source like so:
or if your app has already been created:
|
Seems like @dchun's answer was sufficient. I'll close this issue. |
remote: can someone help me |
Uh oh!
There was an error while loading. Please reload this page.
What I'm doing wrong? I've set environment path for pkgconfig and lib also on opencv.pc.
> [email protected] install /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/nodemon/node_modules/chokidar/node_modules/fsevents remote: > node-pre-gyp install --fallback-to-build remote: remote: make: Entering directory /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/nodemon/node_modules/chokidar/node_modules/fsevents/build' remote: SOLINK_MODULE(target) Release/obj.target/.node remote: COPY Release/.node remote: make: Leaving directory /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/nodemon/node_modules/chokidar/node_modules/fsevents/build remote: remote: > [email protected] install /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv remote: > node-pre-gyp install --fallback-to-build remote: remote: node-pre-gyp ERR! Tried to download: https://node-opencv.s3.amazonaws.com/opencv/v5.0.0/Release/node-v11-linux-x64.tar.gz remote: node-pre-gyp ERR! Pre-built binaries not found for [email protected] and [email protected] (node-v11 ABI) (falling back to source compile with node-gyp) remote: remote: /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/utils/find-opencv.js:21 remote: throw new Error("ERROR: failed to run: pkg-config", opencv, fl remote: ^ remote: Error: ERROR: failed to run: pkg-config remote: at /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/utils/find-opencv.js:21:23 remote: at ChildProcess.exithandler (child_process.js:662:7) remote: at ChildProcess.emit (events.js:98:17) remote: at maybeClose (child_process.js:766:16) remote: at Socket.<anonymous> (child_process.js:979:11) remote: at Socket.emit (events.js:95:17) remote: at Pipe.close (net.js:466:12) remote: gyp: Call to 'node utils/find-opencv.js --cflags' returned exit status 8 while in binding.gyp. while trying to load binding.gyp remote: gyp ERR! configure error remote: gyp ERR! stack Error:
gypfailed with exit code: 1 remote: gyp ERR! stack at ChildProcess.onCpExit (/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/node-gyp/lib/configure.js:305:16) remote: gyp ERR! stack at ChildProcess.emit (events.js:98:17) remote: gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12) remote: gyp ERR! System Linux 3.13.0-79-generic remote: gyp ERR! command "/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/.heroku/node/bin/node" "/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/build/opencv/v5.0.0/Release/node-v11-linux-x64/opencv.node" "--module_name=opencv" "--module_path=/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/build/opencv/v5.0.0/Release/node-v11-linux-x64" remote: gyp ERR! cwd /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv remote: gyp ERR! node -v v0.10.45 remote: gyp ERR! node-gyp -v v3.3.1 remote: gyp ERR! not ok remote: node-pre-gyp ERR! build error remote: node-pre-gyp ERR! stack Error: Failed to execute '/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/.heroku/node/bin/node /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/build/opencv/v5.0.0/Release/node-v11-linux-x64/opencv.node --module_name=opencv --module_path=/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/build/opencv/v5.0.0/Release/node-v11-linux-x64' (1) remote: node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/node_modules/node-pre-gyp/lib/util/compile.js:83:29) remote: node-pre-gyp ERR! stack at ChildProcess.emit (events.js:98:17) remote: node-pre-gyp ERR! stack at maybeClose (child_process.js:766:16) remote: node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:833:5) remote: node-pre-gyp ERR! System Linux 3.13.0-79-generic remote: node-pre-gyp ERR! command "node" "/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" remote: node-pre-gyp ERR! cwd /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv remote: node-pre-gyp ERR! node -v v0.10.45 remote: node-pre-gyp ERR! node-pre-gyp -v v0.6.28 remote: node-pre-gyp ERR! not ok remote: Failed to execute '/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/.heroku/node/bin/node /tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/build/opencv/v5.0.0/Release/node-v11-linux-x64/opencv.node --module_name=opencv --module_path=/tmp/build_fe6fd03b8f565fb1b07dacccd99216cf/node_modules/opencv/build/opencv/v5.0.0/Release/node-v11-linux-x64' (1)
The text was updated successfully, but these errors were encountered: