gajus / lightship

Abstracts readiness, liveness and startup checks and graceful shutdown of Node.js services running in Kubernetes.
Other
515 stars 33 forks source link

Version 7.0.1 incompatible with ubi8/nodejs12 #44

Closed Xaseron closed 2 years ago

Xaseron commented 2 years ago

baseimage: https://catalog.redhat.com/software/containers/ubi8/nodejs-12/5d3fff015a13461f5fb8635a lighshipt version: 7.0.1

error message:

/opt/app-root/src/lightshipServer.js:18
lightship.registerShutdownHandler(() => {
          ^

TypeError: lightship.registerShutdownHandler is not a function
    at Object.<anonymous> (/opt/app-root/src/lightshipServer.js:18:11)
    at Module._compile (internal/modules/cjs/loader.js:999:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1027:10)
    at Module.load (internal/modules/cjs/loader.js:863:32)
    at Function.Module._load (internal/modules/cjs/loader.js:708:14)
    at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:60:12)
    at internal/main/run_main_module.js:17:47
gajus commented 2 years ago

:tada: This issue has been resolved in version 7.0.2 :tada:

The release is available on:

Your semantic-release bot :package::rocket: