Skip to content
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

Cannot find module 'D:\Web\opencv\node_modules\opencv4nodejs\build\Release\opencv4nodejs' #863

Open
Ajayos opened this issue Feb 25, 2023 · 2 comments

Comments

@Ajayos
Copy link

Ajayos commented Feb 25, 2023

node:internal/modules/cjs/loader:1078 throw err; ^ Error: Cannot find module 'D:\Web\opencv\node_modules\opencv4nodejs\build\Release\opencv4nodejs' Require stack: - D:\Web\opencv\node_modules\opencv4nodejs\lib\cv.js - D:\Web\opencv\node_modules\opencv4nodejs\lib\opencv4nodejs.js - D:\Web\opencv\index.js at Module._resolveFilename (node:internal/modules/cjs/loader:1075:15) at Module._load (node:internal/modules/cjs/loader:920:27) at Module.require (node:internal/modules/cjs/loader:1141:19) at require (node:internal/modules/cjs/helpers:110:18) at Object. (D:\Web\opencv\node_modules\opencv4nodejs\lib\cv.js:58:8) at Module._compile (node:internal/modules/cjs/loader:1254:14) at Module._extensions..js (node:internal/modules/cjs/loader:1308:10) at Module.load (node:internal/modules/cjs/loader:1117:32) at Module._load (node:internal/modules/cjs/loader:958:12) at Module.require (node:internal/modules/cjs/loader:1141:19) { code: 'MODULE_NOT_FOUND', requireStack: [ 'D:\Web\opencv\node_modules\opencv4nodejs\lib\cv.js', 'D:\Web\opencv\node_modules\opencv4nodejs\lib\opencv4nodejs.js', 'D:\Web\opencv\index.js' ] } Node.js v18.14.1

@UrielCh
Copy link
Contributor

UrielCh commented Feb 25, 2023

Please try the maintained version @u4/opencv4nodejs

@jyshaobing
Copy link

use cnpm instead!!!

npm install -g cnpm --registry = https://registry.npmmirror.com
cnpm install --registry=https://registry.npmmirror.com

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants