I followed your instructions but installing on centos 7, The enketo-transformer module failed to install. Any ideas on how I can fix that?
$ npm install enketo-transformer --save
> node1-li...@1.0.0 install /home/enketo/enketo-express/node_modules/node1-libxmljsmt
> node-pre-gyp install --fallback-to-build --loglevel http
node-pre-gyp ERR! Pre-built binaries not found for node1-li...@1.0.0 and no...@12.16.2 (node-v72 ABI, glibc) (falling back to source compile with node-gyp)
make: Entering directory `/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build'
CXX(target) Release/obj.target/xmljs/src/libxmljs.o
make: execvp: g++: Permission denied
make: *** [Release/obj.target/xmljs/src/libxmljs.o] Error 127
make: Leaving directory `/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (events.js:310:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 3.10.0-1062.18.1.el7.x86_64
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "build" "--fallback-to-build" "--loglevel=http" "--module=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release/xmljs.node" "--module_name=xmljs" "--module_path=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release" "--napi_version=5" "--node_abi_napi=napi"
gyp ERR! cwd /home/enketo/enketo-express/node_modules/node1-libxmljsmt
gyp ERR! node -v v12.16.2
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
node-pre-gyp ERR! build error
node-pre-gyp ERR! stack Error: Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --loglevel=http --module=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release/xmljs.node --module_name=xmljs --module_path=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release --napi_version=5 --node_abi_napi=napi' (1)
node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/home/enketo/enketo-express/node_modules/node-pre-gyp/lib/util/compile.js:83:29)
node-pre-gyp ERR! stack at ChildProcess.emit (events.js:310:20)
node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1021:16)
node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5)
node-pre-gyp ERR! System Linux 3.10.0-1062.18.1.el7.x86_64
node-pre-gyp ERR! command "/usr/bin/node" "/home/enketo/enketo-express/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" "--loglevel" "http"
node-pre-gyp ERR! cwd /home/enketo/enketo-express/node_modules/node1-libxmljsmt
node-pre-gyp ERR! node -v v12.16.2
node-pre-gyp ERR! node-pre-gyp -v v0.9.1
node-pre-gyp ERR! not ok
Failed to execute '/usr/bin/node /usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js build --fallback-to-build --loglevel=http --module=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release/xmljs.node --module_name=xmljs --module_path=/home/enketo/enketo-express/node_modules/node1-libxmljsmt/build/Release --napi_version=5 --node_abi_napi=napi' (1)
npm WARN acor...@5.2.0 requires a peer of acorn@^6.0.0 || ^7.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN grunt...@3.0.2 requires a peer of karma@^3.0.0 || ^4.0.0 but none is installed. You must install peer dependencies yourself.
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@2.1.2 (node_modules/rollup/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@2.1.2 (node_modules/mocha/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@2.1.2 (node_modules/karma/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@2.1.2 (node_modules/karma-rollup-preprocessor/node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@2.1.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsev...@1.2.12 (node_modules/fsevents):
npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsev...@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! node1-li...@1.0.0 install: `node-pre-gyp install --fallback-to-build --loglevel http`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the node1-li...@1.0.0 install script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/enketo/.npm/_logs/2020-04-28T11_49_15_491Z-debug.log