[Windows] Error: The specified module could not be found. node_modules\@tensorflow\tfjs-node\lib\napi-v6\tfjs_binding.node
See original GitHub issueOS: Windows 10 Profecttional Node: v12.19.0 Tensorflow:
"@tensorflow/tfjs": "^2.6.0",
"@tensorflow/tfjs-node": "^2.6.0",
Script
const tf = require('@tensorflow/tfjs');
require('@tensorflow/tfjs-node');
run
$ node index.js
internal/modules/cjs/loader.js:1065
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.
\\?\C:\ProjectPath\node_modules\@tensorflow\tfjs-node\lib\napi-v6\tfjs_binding.node
at Object.Module._extensions..node (internal/modules/cjs/loader.js:1065:18)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
at Module.require (internal/modules/cjs/loader.js:903:19)
at require (internal/modules/cjs/helpers.js:74:18)
at Object.<anonymous> (C:\ProjectPath\node_modules\@tensorflow\tfjs-node\dist\index.js:58:16)
at Module._compile (internal/modules/cjs/loader.js:1015:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:1035:10)
at Module.load (internal/modules/cjs/loader.js:879:32)
at Function.Module._load (internal/modules/cjs/loader.js:724:14)
What kind of error is this?
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:5
Top Results From Across the Web
The error “The specified module could not be found”
Hold down Windows + I key to open Settings > Select Update & Security > In the pop-up window, select Windows Defender in...
Read more >Error: The specified module could not be found. [Windows 10 ...
I installed opencv4nodejs last night and it was working just fine but when I opened my laptop this morning and tried to ...
Read more >The specified module could not be found | 3 Ways to Fix It
"The specified module could not be found" is a RunDLL error. It is related to DLL (.dll) files linked to Windows Registry and...
Read more >Error: The specified module could not be found - Stack Overflow
I loaded edge_nativeclr.node in Dependency Walker and noticed that VCRUNTIME140.DLL , the Visual Studio 2015 C runtime, was missing.
Read more >node-windows - npm
Kill Task: A method to kill a specific windows service/task (by PID). ... node-windows does not use native modules.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
TFJS-Node-CPU: 2.7 OS: Win 10 Node: 14.15
Solution: move
D:\TFJS\node_modules\@tensorflow\tfjs-node\deps\lib\tensorflow.dll
toD:\TFJS\node_modules\@tensorflow\tfjs-node\lib\napi-v6\
This worked for me: