Skip to content Skip to sidebar Skip to footer

Cant Find \node_modules\@tensorflow\tfjs-node\lib\napi-v4\tfjs_binding.node

I have tried to get the tensorflow.js library to work for days now. I have installed on my computer Python 2.7 Visual Studio 2019 Node 12.13.0 This is the steps I've done to prod

Solution 1:

It is related to the version of tfjs-node. Installing a specific version such as @tensorflow/tfjs-node@1.2.3 will fix the issue.

Uninstall the latest package

npm uninstall --save @tensorflow/tfjs-node

And install the version 1.2.3

npm install --save @tensorflow/tfjs-node@1.2.3

Solution 2:

Update to the case:

@tensorflow/tfjs-node@1.3.0 has issues with Node version 12.13.0 (source https://github.com/tensorflow/tfjs/issues/2341)

Had to use @tensorflow/tfjs-node@1.2.11 with Node version 10.16.3


Post a Comment for "Cant Find \node_modules\@tensorflow\tfjs-node\lib\napi-v4\tfjs_binding.node"