npm WARN enoent ENOENT: no such file or directory, open ‘/root/package.json’
npm WARN root No description
npm WARN root No repository field.
npm WARN root No README data
npm WARN root No license field.
npm ERR! firstname.lastname@example.org install: node-pre-gyp install --fallback-to-build --loglevel http
npm ERR! Exit status 1
npm ERR! Failed at the email@example.com install script ‘node-pre-gyp install --fallback-to-build --loglevel http’.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the libxmljs package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR! node-pre-gyp install --fallback-to-build --loglevel http
npm ERR! You can get information on how to open an issue for this project with:
npm ERR! npm bugs libxmljs
npm ERR! Or if that isn’t available, you can get their info via:
npm ERR! npm owner ls libxmljs
npm ERR! There is likely additional logging output above.
On debian 10, I work around libxmljs issue by using node 8.x. I saw some have work around it by changing the libxmljs version since those in the genieacs npm install point at a version that don’t exist anymore but I don’t know how to proceed to change that behavior.