nodebb 1.14 now, Ubuntu 20.04 LTS
try to install nodebb-plugin-smoothshorts , it invokes node-gyp rebuild, it call make who call g++
g++ fails to compile in many places
results in
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:315:20)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12)
gyp ERR! System Linux 4.15.0-106-generic
gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/nodebb/nodebb/node_modules/xxhash
gyp ERR! node -v v12.18.1
gyp ERR! node-gyp -v v5.1.0
gyp ERR! not ok
errors:
In file included from ../src/hash.cc:3:0:
../src/hash_32.hpp:147:28: error: ‘Handle’ has not been declared
static void Initialize(Handle
nodebb 1.14 now, Ubuntu 20.04 LTS try to install nodebb-plugin-smoothshorts , it invokes node-gyp rebuild, it call make who call g++ g++ fails to compile in many places results in
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:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! System Linux 4.15.0-106-generic gyp ERR! command "/usr/bin/node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/nodebb/nodebb/node_modules/xxhash gyp ERR! node -v v12.18.1 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not okerrors: