nikhilk / node-tensorflow

Node.js + TensorFlow
Apache License 2.0
587 stars 59 forks source link

Error: Cannot find module 'tensorflow' #34

Open SOB845 opened 5 years ago

SOB845 commented 5 years ago

Hi, I'm a Windows 10 user and I'm trying to implement Tensorflow in my node.js application. I npm installed tensorflow and copied the code to see if it works well. Next, I opened CMD to run the code, that's where I got the error in the headline. I suspect that Tensorflow does not support Windows OS but I want to hear your opinion.

bayaosborn commented 1 year ago

Tensorflow supports the Windows OS. Install the package using: npm install @tensorflow/tfjs

If you want to purely run the node version, the former also works well, you can install using this: npm install @tensorflow/tfjs-node

If you need more help on this you can post a clear view of the error you are getting and tag me. Thank you