masalinas / node-red-contrib-talib

TA-Lib nodes for node-RED
Apache License 2.0
3 stars 2 forks source link

node giving error while installing #2

Open jbmustaq opened 3 years ago

jbmustaq commented 3 years ago

Hi,

I am trying to install the node but getting below error :

`----------------------------------------------------------- 2021-01-02T00:46:10.184Z Install : node-red-contrib-talib 0.0.8

2021-01-02T00:46:13.156Z npm install --no-audit --no-update-notifier --no-fund --save --save-prefix=~ --production node-red-contrib-talib@0.0.8 2021-01-02T00:46:15.337Z [out] 2021-01-02T00:46:15.337Z [out] > talib@1.1.3 install /root/.node-red/node_modules/talib 2021-01-02T00:46:15.337Z [out] > node ./src/lib/build.js && node-gyp configure && node-gyp build 2021-01-02T00:46:15.337Z [out] 2021-01-02T00:46:15.376Z [err] internal/modules/cjs/loader.js:818 2021-01-02T00:46:15.376Z [err] throw err; 2021-01-02T00:46:15.376Z [err] ^ 2021-01-02T00:46:15.376Z [err] 2021-01-02T00:46:15.376Z [err] Error: Cannot find module '/root/.node-red/node_modules/talib/src/lib/build.js' 2021-01-02T00:46:15.376Z [err] at Function.Module._resolveFilename (internal/modules/cjs/loader.js:815:15) 2021-01-02T00:46:15.376Z [err] at Function.Module._load (internal/modules/cjs/loader.js:667:27) 2021-01-02T00:46:15.376Z [err] at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12) 2021-01-02T00:46:15.376Z [err] at internal/main/run_main_module.js:17:47 { 2021-01-02T00:46:15.376Z [err] code: 'MODULE_NOT_FOUND', 2021-01-02T00:46:15.376Z [err] requireStack: [] 2021-01-02T00:46:15.376Z [err] } 2021-01-02T00:46:15.466Z [err] npm 2021-01-02T00:46:15.466Z [err]
2021-01-02T00:46:15.466Z [err] ERR! 2021-01-02T00:46:15.466Z [err]
2021-01-02T00:46:15.466Z [err] code 2021-01-02T00:46:15.466Z [err] ELIFECYCLE 2021-01-02T00:46:15.466Z [err] npm 2021-01-02T00:46:15.467Z [err]
2021-01-02T00:46:15.467Z [err] ERR! 2021-01-02T00:46:15.467Z [err]
2021-01-02T00:46:15.467Z [err] errno 2021-01-02T00:46:15.467Z [err] 1 2021-01-02T00:46:15.472Z [err] npm 2021-01-02T00:46:15.472Z [err]
2021-01-02T00:46:15.472Z [err] ERR! 2021-01-02T00:46:15.472Z [err] talib@1.1.3 install: node ./src/lib/build.js && node-gyp configure && node-gyp build 2021-01-02T00:46:15.472Z [err] npm 2021-01-02T00:46:15.472Z [err]
2021-01-02T00:46:15.472Z [err] ERR! 2021-01-02T00:46:15.472Z [err] Exit status 1 2021-01-02T00:46:15.472Z [err] npm 2021-01-02T00:46:15.472Z [err]
2021-01-02T00:46:15.472Z [err] ERR! 2021-01-02T00:46:15.473Z [err]
2021-01-02T00:46:15.473Z [err] npm 2021-01-02T00:46:15.473Z [err]
2021-01-02T00:46:15.473Z [err] ERR! 2021-01-02T00:46:15.473Z [err] Failed at the talib@1.1.3 install script. 2021-01-02T00:46:15.473Z [err] npm 2021-01-02T00:46:15.473Z [err]
2021-01-02T00:46:15.473Z [err] ERR! 2021-01-02T00:46:15.473Z [err] This is probably not a problem with npm. There is likely additional logging output above. 2021-01-02T00:46:15.478Z [err] 2021-01-02T00:46:15.478Z [err] npm 2021-01-02T00:46:15.478Z [err]
2021-01-02T00:46:15.478Z [err] ERR! 2021-01-02T00:46:15.478Z [err] A complete log of this run can be found in: 2021-01-02T00:46:15.478Z [err] npm 2021-01-02T00:46:15.478Z [err]
2021-01-02T00:46:15.478Z [err] ERR! 2021-01-02T00:46:15.478Z [err] /root/.npm/_logs/2021-01-02T00_46_15_474Z-debug.log 2021-01-02T00:46:15.486Z rc=1`