webflight-copterface icon indicating copy to clipboard operation
webflight-copterface copied to clipboard

build/Release error

Open cardcaster opened this issue 7 years ago • 0 comments

Hi,

I installed webflight-copterface and this the warning I get.

npm WARN lifecycle [email protected]~preinstall: cannot run in wd %s %s (wd=%s) [email protected] node-gyp clean rebuild /usr/local/bin/ardrone-webflight/plugins/webflight-copterface/node_modules/.staging/opencv-2fa58e45 [email protected] /usr/local/bin/ardrone-webflight/plugins/webflight-copterface ├─┬ [email protected] │ └── [email protected] ├── [email protected] ├── [email protected] └─┬ [email protected] └── [email protected]

As required, I installed the webflight-copterface in ardrone-webflight/plugins but I get this result after running app.js file

` info - socket.io started Loading video-png plugin. Loading hud plugin. Loading battery plugin. Loading blackbox plugin. Loading webflight-copterface plugin. module.js:471 throw err; ^

Error: Cannot find module '../build/Release/opencv.node' at Function.Module._resolveFilename (module.js:469:15) at Function.Module._load (module.js:417:25) at Module.require (module.js:497:17) at require (internal/module.js:20:19) at Object. (/usr/local/bin/ardrone-webflight/plugins/webflight-copterface/node_modules/opencv/lib/bindings.js:1:80) at Module._compile (module.js:570:32) at Object.Module._extensions..js (module.js:579:10) at Module.load (module.js:487:32) at tryModuleLoad (module.js:446:12) at Function.Module._load (module.js:438:3)`

I have read your other post where you mention opencv-devel package must be installed however when I google it there isn't guide on how to go about it.

cardcaster avatar Apr 10 '17 14:04 cardcaster