Closed uarefans closed 1 year ago
Just linking for reference
error gone when using
npm install -g node-gyp
npm install --save-exact @tensorflow/tfjs-node@3.1.0
but have other issue when
npm run build
when fixing with update .eslintrc.json under rules
"prettier/prettier": ["warn", {"endOfLine": "auto"}],
i can run npm run build but when try upload files and click prepare showing error
solve with
Notes: i'm using firefox and chrome, when in firefox, box detector not working but auto download tiny_face_detector_model.bin but in chrome works perfectly
Thank you and my problem solved
thank you for researching this I will test with later versions of node and look into the EOL issue.
@uarefans I looked into this and it should also work with node 18.7.1 now. I tested it locally and was able to reproduce the error from above when switching to node 18.7.1. After adjusting the version of tfjs-node as mentiopned here: https://github.com/tensorflow/tfjs/issues/7881, everything istalled fine.
I guess tensorflow hasverioning issues and missing binaries for v4.
thank you, i try 10 hours ago using other pc and node 18.7.1 but still error i forget to capture the log, "something about tensorflow module" again but when downgrade again using node 18.14.2 error gone and works
@uarefans my bad. I meant 18.17.1 (just checking)
@pixelass my bad too, my node version 18.17.1 before not 18.7.1 but didn't work, i'll try fresh install again later to make sure.
Several people are having this issue. We've tested 18.5.0 too and it seemed to work. We'll start to add tests to verify the install process.
Describe the bug Error while npm install
Expected behavior No error
Screenshots
Versions (please complete the following information):
Additional context Log file in attachment 2023-08-15T12_22_27_806Z-debug-0.log