-
Notifications
You must be signed in to change notification settings - Fork 2k
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
issue with running the project #8490
Comments
Hi @GaUrAv001001 , I noticed you are using nodejs v18.20.5. Could you please try using Python version 3.11.x and Node.js v19.9.x or 20.15.x? After making these changes, please delete the node_modules folder from your project and run Please let me know if this resolves the issue. Thank you!" |
I was getting the same error and after doing what you said the error still exists so it didn't work. |
Hi @Roman233, It must resolve your issue. However, if you are still facing the issue even after installing the compatible dependencies, you can manually copy the file from Let me know if it helps. Thank you!! |
YES! I have exactly the same error! I haven’t been able to do anything with her for a week now! Installed, reinstalled everything, node versions, visual studio, python, copied files, NOTHING! I currently have node v18.20.5, [email protected] |
@Igor5005 , Please try installing the latest |
I tried to do as you recommended. Currently:G:\TensorFlow>node -v v18.20.5. G:\TensorFlow>python --version Python 3.11.0 G:\TensorFlow>node-gyp --version v11.0.0 The file I tried to run: Result: [Running] node "g:\TensorFlow\index.js" Error: The Node.js native addon module (tfjs_binding.node) can not be found at path: g:\TensorFlow\node_modules@tensorflow\tfjs-node\lib\napi-v8\tfjs_binding.node. Node.js v18.20.5 [Done] exited with code=1 in 2.191 seconds |
I forgot to indicate the video card, it's quite old, nvidia geforce 8600GT |
@Igor5005 Run command |
@GaUrAv001001, Please also verify if this workaround is also working in your case. |
I did it. same error... |
worked for me |
System information
System: windows
"@tensorflow/tfjs": "^4.22.0",
"@tensorflow/tfjs-node": "^4.22.0",
when i try to run the project i am getting this error:
node index.js
node:internal/modules/cjs/loader:1460
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.
\?\C:\Users\Admin\OneDrive\Documents\ReactJS\tensorflow model\node_modules@tensorflow\tfjs-node\lib\napi-v8\tfjs_binding.node
at Module._extensions..node (node:internal/modules/cjs/loader:1460:18)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12)
at Module.require (node:internal/modules/cjs/loader:1231:19)
at require (node:internal/modules/helpers:177:18)
at Object. (C:\Users\Admin\OneDrive\Documents\ReactJS\tensorflow model\node_modules@tensorflow\tfjs-node\dist\index.js:72:16)
at Module._compile (node:internal/modules/cjs/loader:1364:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1422:10)
at Module.load (node:internal/modules/cjs/loader:1203:32)
at Module._load (node:internal/modules/cjs/loader:1019:12) {
code: 'ERR_DLOPEN_FAILED'
}
Node.js v18.20.5
I Tried to change the version of node js and python still not working.
node js : v18.20.5
Python : 3.11.3
here is the code:
index.js: import express from 'express'
import cors from 'cors'
import ImageClassifier from './ImageClassifier.js';
(async () => {
const classifier = new ImageClassifier();
})();
ImageClassification.js:
import express from 'express'
import cors from 'cors'
import ImageClassifier from './ImageClassifier.js';
(async () => {
const classifier = new ImageClassifier();
})();
The text was updated successfully, but these errors were encountered: