When installing the dspace 7.3 frontend, install throws an error. This is seemingly harmless so far?? It does not prevent 'yarn build:prod' from completing normally, and the frontend appears to function normally, but I'm naturally suspicious of (and curious about) the error. Anybody else encounter this?
At the very end of 'yarn install' I get the following error:
make: Entering directory `/usr/local/projects/current/dspace-7.3/node_modules/nice-napi/build'
CC(target) Release/obj.target/nothing/../node-addon-api/nothing.o
AR(target) Release/obj.target/../node-addon-api/nothing.a
COPY Release/nothing.a
CXX(target) Release/obj.target/nice_napi/binding.o
g++: error: unrecognized command line option ‘-std=gnu++14’
make: *** [Release/obj.target/nice_napi/binding.o] Error 1
make: Leaving directory `/usr/local/projects/current/dspace-7.3/node_modules/nice-napi/build'
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack at ChildProcess.onExit (/usr/local/node-v16.15.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/lib/build.js:194:23)
gyp ERR! stack at ChildProcess.emit (node:events:527:28)
gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:291:12)
gyp ERR! System Linux 3.10.0-1160.36.2.el7.x86_64
gyp ERR! command \"/swadm/usr/local/node-v16.15.1-linux-x64/bin/node\" \"/swadm/usr/local/node-v16.15.1-linux-x64/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js\" \"rebuild\"
gyp ERR! cwd /usr/local/projects/current/dspace-7.3/node_modules/nice-napi
Done in 107.21s.
A subsequent call to 'yarn install' completes normally -- without actually doing anything.
Thanks for your ideas!
~~Bill
--
Human wheels spin round and round
While the clock keeps the pace... -- John Mellencamp
________________________________________________________________
Bill Tantzen University of Minnesota Libraries
612-626-9949 (U of M)
612-325-1777 (cell)