运行错误报错
internal/modules/cjs/loader.js:1122
return process.dlopen(module, path.toNamespacedPath(filename));
internal/modules/cjs/loader.js:1122
return process.dlopen(module, path.toNamespacedPath(filename));
2020-10-13
我也是和你报一样的错误。
在开发电脑上node train是OK的,放到一台工作站上就报这个错误。
PS D:\GARBAGE_CLASSIFY> node train
internal/modules/cjs/loader.js:1065
return process.dlopen(module, path.toNamespacedPath(filename));
^
Error: The specified module could not be found.
\\?\D:\GARBAGE_CLASSIFY\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> (D:\GARBAGE_CLASSIFY\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)
举报