You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After installing the library, any reference to the library causes the following output and error:
Platform node has already been set. Overwriting the platform with [object Object].
Platform node has already been set. Overwriting the platform with [object Object].
cpu backend was already registered. Reusing existing backend factory.
Platform node has already been set. Overwriting the platform with [object Object].
C:\Users\JoJo\Desktop\ic\yeet\node_modules\@tensorflow\tfjs-node\dist\index.js:49
throw new Error("The Node.js native addon module (tfjs_binding.node) can not " +
^
Error: The Node.js native addon module (tfjs_binding.node) can not be found at path: C:\Users\JoJo\Desktop\ic\yeet\node_modules\@tensorflow\tfjs-node\lib\napi-v7\tfjs_binding.node.
Please run command 'npm rebuild @tensorflow/tfjs-node build-addon-from-source' to rebuild the native addon module.
If you have problem with building the addon module, please check https://github.com/tensorflow/tfjs/blob/master/tfjs-node/WINDOWS_TROUBLESHOOTING.md or file an issue.
at Object.<anonymous> (C:\Users\JoJo\Desktop\ic\yeet\node_modules\@tensorflow\tfjs-node\dist\index.js:49:11)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
at Module.load (node:internal/modules/cjs/loader:981:32)
at Function.Module._load (node:internal/modules/cjs/loader:822:12)
at Module.require (node:internal/modules/cjs/loader:1005:19)
at require (node:internal/modules/cjs/helpers:94:18)
at Object.<anonymous> (C:\Users\JoJo\Desktop\ic\yeet\node_modules\image-classifier\lib\ImageClassifier.js:64:23)
at Module._compile (node:internal/modules/cjs/loader:1101:14)
at Object.Module._extensions..js (node:internal/modules/cjs/loader:1153:10)
This can be reproduced by just having the following line: const ImageClassifier = require("image-classifier");
Note that I am on a Windows 10 OS and the node/npm version is 16.8.0/7.13.0
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered:
After installing the library, any reference to the library causes the following output and error:
This can be reproduced by just having the following line:
const ImageClassifier = require("image-classifier");
Note that I am on a Windows 10 OS and the node/npm version is 16.8.0/7.13.0
Any help would be greatly appreciated!
The text was updated successfully, but these errors were encountered: