node-krb5 icon indicating copy to clipboard operation
node-krb5 copied to clipboard

Optional module `kerberos` not found

Open mgnmpk opened this issue 5 months ago • 2 comments

I have installed [email protected] 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

mgnmpk avatar Sep 23 '24 08:09 mgnmpk