and put all opencv-node files in opencv-node_CPP folder and i get this error:
rgap@ubuntu:~/opencv-node_CPP$ coffee scripts/tests.coffee
Error: Cannot find module '../build/Release/addon.node'
at Function.Module._resolveFilename (module.js:338:15)
at Function.Module._load (module.js:280:25)
at Module.require (module.js:362:17)
at require (module.js:378:17)
at Object. (/home/rgap/opencv-node_CPP/scripts/opencv.coffee:4:14)
at Object. (/home/rgap/opencv-node_CPP/scripts/opencv.coffee:41:4)
at Module._compile (module.js:449:26)
at Object.require.extensions..coffee (/usr/lib/coffee-script/lib/coffee-script/coffee-script.js:21:21)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)
Hi
In ubuntu
I did
npm install -g opencv-node
and put all opencv-node files in opencv-node_CPP folder and i get this error:
rgap@ubuntu:~/opencv-node_CPP$ coffee scripts/tests.coffee Error: Cannot find module '../build/Release/addon.node' at Function.Module._resolveFilename (module.js:338:15) at Function.Module._load (module.js:280:25) at Module.require (module.js:362:17) at require (module.js:378:17) at Object. (/home/rgap/opencv-node_CPP/scripts/opencv.coffee:4:14)
at Object. (/home/rgap/opencv-node_CPP/scripts/opencv.coffee:41:4)
at Module._compile (module.js:449:26)
at Object.require.extensions..coffee (/usr/lib/coffee-script/lib/coffee-script/coffee-script.js:21:21)
at Module.load (module.js:356:32)
at Function.Module._load (module.js:312:12)