adaltas/node-krb5

Optional module `kerberos` not found

Opened this issue · 2 comments

I have installed kerberos@2.1.1 node version. And also all supporting package. Even kerberos authentication in working on local. When I build and Run it in Docker container then It gives below error:

logErroressage: message:undefined stackTrace: MongoMissingDependencyError: Optional module kerberos not found. Please install it to enable kerberos authentication
at Object. (/usr/NAVRuleEngine/node_modules/mongodb/lib/deps.js:21:36)

I'm using below packages in Dockerfile:
#RUN apk add --no-cache
krb5-libs
krb5-dev
krb5-conf
e2fsprogs-dev
libressl-dev
bash
build-base
python3
pkgconfig

And using node:lts-alpine3.20 docker image

Hi mgnmpk, The package has been maintained lately, lack of time on our side, so no support around it for now.

There is no issue thread for https://github.com/mongodb-js/kerberos

I've installed this package. But still getting the above error. Could you please suggest docker image for the same. Also required kerberos packages for the same.