dceejay / tfjs-coco-ssd

Node-RED node for tensorflowjs coco ssd
Apache License 2.0
14 stars 10 forks source link

Node Error - Cannot find module #12

Open TristanMW opened 3 years ago

TristanMW commented 3 years ago

Good Day

Please assist here. I am getting the following error when deploying the workspace.

`Error: Cannot find module '/usr/local/lib/node_modules/node-red-contrib-tfjs-coco-ssd/node_modules/@tensorflow/tfjs-node/lib/napi-v5/tfjs_binding.node' Require stack:

This has popped up on 2 separate PCs running the most recent node.js and node-red

Node-Red Core v2.0.5 Node v14.17.0 NPM v7.20.6

Thanks in advance

Screenshot 2021-08-16 at 12 31 14

TristanMW commented 3 years ago

Update: OS: Linux Fedora 34

Tried using the http://:1880/coco/model.json Screenshot 2021-08-16 at 13 05 49

Had a look in the folder for the tfjs_binding.node file. Doesnt exist Screenshot 2021-08-16 at 13 32 57

Followed by copying the file from a Windows PC and got this error:

"Error: /root/.node-red/node_modules/@tensorflow/tfjs-node/lib/napi-v5/tfjs_binding.node: invalid ELF header"