anandanand84 / technicalindicators

A javascript technical indicators written in typescript with pattern recognition right in the browser
MIT License
2.14k stars 557 forks source link

Install technicalindicators node js on Centos server #168

Open datacoder-io opened 5 years ago

datacoder-io commented 5 years ago

Hi I want to install it on Centos 6 (without GPU) . i didnt need browser , just i need some function use like rsi macd and etc... but when i try to install it from putty i get some error like this:

1265 verbose argv "/usr/bin/node" "/usr/bin/npm" "install" "--save" "technicalindicators"
1266 verbose node v8.9.1
1267 verbose npm  v6.0.0
1268 error code ELIFECYCLE
1269 error errno 1
1270 error @tensorflow/tfjs-node@0.1.21 install: `node scripts/install.js`
1270 error Exit status 1
1271 error Failed at the @tensorflow/tfjs-node@0.1.21 install script.
1271 error This is probably not a problem with npm. There is likely additional logging output above.

Im very confused , pls help me

Best Regards

linaspasv commented 5 years ago

Same problem here. I need RSI calculations but unable to install the library on Centos.

linaspasv commented 5 years ago

@radian-rgc try older version (v1.1.13) that has no tensorflow dependencies. It worked perfectly for me.

As of a solution I would suggest to make tensorflow as an optional dependency for someone who does not need ML prediction.

garrypas commented 5 years ago

I had to downgrade to v1.1.13 too, v2 is trying to do too much. Not interested in the tensorflow stuff, don't know why it is coupled to the core project when it causes so many issues. Should be optional, or a different project.

anandanand84 commented 5 years ago

I am not able to reproduce this in an centos docker image. Can someone help me reproduce this in a docker image.

image