justadudewhohacks / justadudewhohacks/opencv4nodejs
npm install opencv4nodejs --save error
- Dominant language
- C++
- Stars
- 5.1k
- Forks
- 826
- PR merge metrics
- No merged PRs in 30d
Description
F:\electron\electron-oxui\node_modules\opencv4nodejs>if not defined npm_config_node_gyp (node "E:\nvm\v8.16.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild --jobs max ) else (node "node E:\nvm\v8.16.0\node_modules\node-gyp\bin\node-gyp.js" rebuild --jobs max )
module.js:550
throw err;
^
Error: Cannot find module 'F:\electron\electron-oxui\node_modules\opencv4nodejs\node E:\nvm\v8.16.0\node_modules\node-gyp\bin\node-gyp.js'
at Function.Module._resolveFilename (module.js:548:15)
at Function.Module._load (module.js:475:25)
at Function.Module.runMain (module.js:694:10)
at startup (bootstrap_node.js:204:16)
at bootstrap_node.js:625:3
npm WARN project@4.1.2 No repository field.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.9 (node_modules\fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.9: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! opencv4nodejs@5.2.0 install: `node-gyp rebuild --jobs max`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the opencv4nodejs@5.2.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! d:\Users\paul.cai.PJBEST\AppData\Roaming\npm-cache\_logs\2019-09-10T03_47_20_517Z-debug.log
PS F:\electron\electron-oxui> npm i -g npm
npm ERR! path E:\nodejs\npm.cmd
npm ERR! code EEXIST
npm ERR! Refusing to delete E:\nodejs\npm.cmd: is outside E:\nodejs\node_modules\npm and not a link
npm ERR! File exists: E:\nodejs\npm.cmd
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:
npm ERR! d:\Users\paul.cai.PJBEST\AppData\Roaming\npm-cache\_logs\2019-09-10T03_48_28_770Z-debug.log
PS F:\electron\electron-oxui> npm -v
6.4.1
PS F:\electron\electron-oxui> npm install -g npm
npm ERR! path E:\nodejs\npm.cmd
npm ERR! code EEXIST
npm ERR! Refusing to delete E:\nodejs\npm.cmd: is outside E:\nodejs\node_modules\npm and not a link
npm ERR! File exists: E:\nodejs\npm.cmd
npm ERR! Move it away, and try again.
npm ERR! A complete log of this run can be found in:

Contributor guide
Assessment
This issue has not been assessed yet.