ndelitski / rancher-alarms

Will kick your ass if found unhealthy service in Rancher environment
85 stars 20 forks source link

Alarms do not get shipped #46

Open DavideM78 opened 3 years ago

DavideM78 commented 3 years ago

Hi, I just follow the instructions in logs, this is the output of npm-debug.log:

0 info it worked if it ends with ok
1 verbose cli [ '/usr/bin/node', '/usr/bin/npm', 'start' ]
2 info using npm@2.15.12
3 info using node@v4.8.4
4 verbose run-script [ 'prestart', 'start', 'poststart' ]
5 info prestart rancher-alarms@0.1.8
6 info start rancher-alarms@0.1.8
7 verbose unsafe-perm in lifecycle true
8 info rancher-alarms@0.1.8 Failed to exec start script
9 verbose stack Error: rancher-alarms@0.1.8 start: `node bin/rancher-alarms.js`
9 verbose stack Exit status 1
9 verbose stack     at EventEmitter.<anonymous> (/usr/lib/node_modules/npm/lib/utils/lifecycle.js:217:16)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at EventEmitter.emit (events.js:172:7)
9 verbose stack     at ChildProcess.<anonymous> (/usr/lib/node_modules/npm/lib/utils/spawn.js:24:14)
9 verbose stack     at emitTwo (events.js:87:13)
9 verbose stack     at ChildProcess.emit (events.js:172:7)
9 verbose stack     at maybeClose (internal/child_process.js:862:16)
9 verbose stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:222:5)
10 verbose pkgid rancher-alarms@0.1.8
11 verbose cwd /usr/src/app
12 error Linux 3.10.0-1127.19.1.el7.x86_64
13 error argv "/usr/bin/node" "/usr/bin/npm" "start"
14 error node v4.8.4
15 error npm  v2.15.12
16 error code ELIFECYCLE
17 error rancher-alarms@0.1.8 start: `node bin/rancher-alarms.js`
17 error Exit status 1
18 error Failed at the rancher-alarms@0.1.8 start script 'node bin/rancher-alarms.js'.
18 error This is most likely a problem with the rancher-alarms package,
18 error not with npm itself.
18 error Tell the author that this fails on your system:
18 error     node bin/rancher-alarms.js
18 error You can get information on how to open an issue for this project with:
18 error     npm bugs rancher-alarms
18 error Or if that isn't available, you can get their info via:
18 error
18 error     npm owner ls rancher-alarms
18 error There is likely additional logging output above.
19 verbose exit [ 1, true ] 

rancher-alarms version is the 0.1.8-rc Thanks in advance for any idea/support.