libxmljs package causes errors when installing
I run the npm commands in a node Docker container and mount the git repo as volumn
docker run -it -v ${pwd}:/local-dev node:8-stretch bash
npm install
> libxmljs-mt@0.18.0 install /local-dev/node_modules/libxmljs-mt
> node-gyp rebuild
module.js:550
throw err;
^
Error: Cannot find module 'nan'
Installing nan solves the error although I get quite a lot of warnings. Also the Dockerfile does not work at the moment when I just run
docker build .
@rmarston @stvogel It seems that the maintainer of libxmljs is not active anymore... Do we have any alternative options? I am asking this because we are already using node:8-stretch because node:10 does not work at all and now even node:8 causes problems... Or rather libxml is causing problems.
Edited by Markus Mirz