Can't install node-red-contrib-tfjs-coco-ssd

Hello,
I hope someone can help me. I would like to install the object detection node-red-contrib-tfjs-coco-ssd on Windows. Unfortunately it does not install correctly. During the installation I get the following error.

C:\Users\ASUS>npm i node-red-contrib-tfjs-coco-ssd
npm WARN cleanup Failed to remove some directories [
npm WARN cleanup   [
npm WARN cleanup     'C:\\Users\\ASUS\\node_modules\\node-red-contrib-tfjs-coco-ssd',
npm WARN cleanup     [Error: EBUSY: resource busy or locked, rmdir 'C:\Users\ASUS\node_moduleso-ssd'] {
npm WARN cleanup       errno: -4082,
npm WARN cleanup       code: 'EBUSY',
npm WARN cleanup       syscall: 'rmdir',
npm WARN cleanup       path: 'C:\\Users\\ASUS\\node_modules\\node-red-contrib-tfjs-coco-ssd'
npm WARN cleanup     }
npm WARN cleanup   ]
npm WARN cleanup ]
npm ERR! code 1
npm ERR! path C:\Users\ASUS\node_modules\node-red-contrib-tfjs-coco-ssd\node_modules\@tensorfl
npm ERR! command failed
npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node scripts/install.js
npm ERR! CPU-windows-3.11.0.zip
npm ERR! https://storage.googleapis.com/tensorflow/libtensorflow/libtensorflow-cpu-windows-x86
npm ERR! node-pre-gyp install failed with error: Error: Command failed: node-pre-gyp install -
npm ERR! node-pre-gyp info it worked if it ends with ok
npm ERR! node-pre-gyp info using node-pre-gyp@1.0.4
npm ERR! node-pre-gyp info using node@16.10.0 | win32 | x64
npm ERR! node-pre-gyp info check checked for "C:\Users\ASUS\node_modules\node-red-contrib-tfjsnsorflow\tfjs-node\lib\napi-v8\tfjs_binding.node" (not found)
npm ERR! node-pre-gyp http GET https://storage.googleapis.com/tf-builds/pre-built-binary/napi-.0.zip
npm ERR! node-pre-gyp ERR! install response status 404 Not Found on https://storage.googleapisinary/napi-v8/3.11.0/CPU-windows-3.11.0.zip
npm ERR! node-pre-gyp WARN Pre-built binaries not installable for @tensorflow/tfjs-node@3.11.03 ABI, unknown) (falling back to source compile with node-gyp)
npm ERR! node-pre-gyp WARN Hit error response status 404 Not Found on https://storage.googleap-binary/napi-v8/3.11.0/CPU-windows-3.11.0.zip
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@16.10.0 | win32 | x64
npm ERR! gyp info ok
npm ERR! gyp info it worked if it ends with ok
npm ERR! gyp info using node-gyp@8.4.1
npm ERR! gyp info using node@16.10.0 | win32 | x64
npm ERR! gyp info find Python using Python version 3.9.1 found at "C:\Users\ASUS\AppData\Localpython.exe"
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS msvs_version not set from command line or npm config
npm ERR! gyp ERR! find VS VCINSTALLDIR not set, not running in VS Command Prompt
npm ERR! gyp ERR! find VS could not use PowerShell to find Visual Studio 2017 or newer, try resilly' for more details
npm ERR! gyp ERR! find VS looking for Visual Studio 2015
npm ERR! gyp ERR! find VS - not found
npm ERR! gyp ERR! find VS not looking for VS2013 as it is only supported up to Node.js 8
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS You need to install the latest version of Visual Studio
npm ERR! gyp ERR! find VS including the "Desktop development with C++" workload.
npm ERR! gyp ERR! find VS For more information consult the documentation at:
npm ERR! gyp ERR! find VS https://github.com/nodejs/node-gyp#on-windows
npm ERR! gyp ERR! find VS **************************************************************
npm ERR! gyp ERR! find VS
npm ERR! gyp ERR! configure error
npm ERR! gyp ERR! stack Error: Could not find any Visual Studio installation to use
npm ERR! gyp ERR! stack     at VisualStudioFinder.fail (C:\Users\ASUS\AppData\Roaming\npm\nodenode-gyp\lib\find-visualstudio.js:122:47)
npm ERR! gyp ERR! stack     at C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modulestudio.js:75:16
npm ERR! gyp ERR! stack     at VisualStudioFinder.findVisualStudio2013 (C:\Users\ASUS\AppData\pm\node_modules\node-gyp\lib\find-visualstudio.js:363:14)
npm ERR! gyp ERR! stack     at C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modulestudio.js:71:14
npm ERR! gyp ERR! stack     at C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modulestudio.js:384:16
npm ERR! gyp ERR! stack     at C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modules
npm ERR! gyp ERR! stack     at C:\Users\ASUS\AppData\Roaming\npm\node_modules\npm\node_modules6
npm ERR! gyp ERR! stack     at ChildProcess.exithandler (node:child_process:404:5)
npm ERR! gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! gyp ERR! stack     at maybeClose (node:internal/child_process:1064:16)
npm ERR! gyp ERR! System Windows_NT 10.0.19042
npm ERR! gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\ASUS\\AppData\\Roa
pm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\
\node-red-contrib-tfjs-coco-ssd\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v8\\tfjs_bind
fjs_binding" "--module_path=C:\\Users\\ASUS\\node_modules\\node-red-contrib-tfjs-coco-ssd\\nod
js-node\\lib\\napi-v8" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=8" "--n
npm ERR! gyp ERR! cwd C:\Users\ASUS\node_modules\node-red-contrib-tfjs-coco-ssd\node_modules\@
npm ERR! gyp ERR! node -v v16.10.0
npm ERR! gyp ERR! node-gyp -v v8.4.1
npm ERR! gyp ERR! not ok
npm ERR! node-pre-gyp ERR! build error
npm ERR! node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:g\npm\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --modules\node-red-contrib-tfjs-coco-ssd\node_modules\@tensorflow\tfjs-node\lib\napi-v8\tfjs_binds_binding --module_path=C:\Users\ASUS\node_modules\node-red-contrib-tfjs-coco-ssd\node_modules\napi-v8 --napi_version=8 --node_abi_napi=napi --napi_build_version=8 --node_napi_label=napi-v
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.<anonymous> (C:\Users\ASUS\node_modules\nssd\node_modules\@mapbox\node-pre-gyp\lib\util\compile.js:89:23)
npm ERR! node-pre-gyp ERR! stack     at ChildProcess.emit (node:events:390:28)
npm ERR! node-pre-gyp ERR! stack     at maybeClose (node:internal/child_process:1064:16)
npm ERR! node-pre-gyp ERR! stack     at Process.ChildProcess._handle.onexit (node:internal/chi
npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19042
npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\ASUS\\nodb-tfjs-coco-ssd\\node_modules\\@mapbox\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback
npm ERR! node-pre-gyp ERR! cwd C:\Users\ASUS\node_modules\node-red-contrib-tfjs-coco-ssd\node_ode
npm ERR! node-pre-gyp ERR! node -v v16.10.0
npm ERR! node-pre-gyp ERR! node-pre-gyp -v v1.0.4
npm ERR! node-pre-gyp ERR! not ok
npm ERR! * Downloading libtensorflow
npm ERR!
npm ERR! * Building TensorFlow Node.js bindings

npm ERR! A complete log of this run can be found in:
npm ERR!     C:\Users\ASUS\AppData\Local\npm-cache\_logs\2021-12-31T15_23_54_484Z-debug-0.log

The log contains the information on what is missing:

Hello
I have same problem in installing this node on my raspberry pi 3

and this is what i get in terminal

can you help me with this?
thank you

Your error is 100% completely different :joy:

It's not even on the same architecture or operating system.

You should really open a new thread, explain the versions of npm, node js & node-red you are running as well as explaining your issue.

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.