@baris said in Error after upgrading to 1.11.0:
NodeBB is on version 1.1.0 so the command should use v1.1.x.
1.11.0 worked fine for me.
I need help. I'm trying to install a fresh copy of nodebb and I'm getting this error:
I've done the same procedure last week and the installation worked fine.
make: Entering directory
/root/nodebb/node_modules/utf-8-validate/build' CXX(target) Release/obj.target/validation/src/validation.o ../src/validation.cc:15:17: fatal error: nan.h: No such file or directory #include "nan.h" ^ compilation terminated. make: *** [Release/obj.target/validation/src/validation.o] Error 1 make: Leaving directory /root/nodebb/node_modules/utf-8-validate/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:270:23)
gyp ERR! stack at emitTwo (events.js:87:13)
gyp ERR! stack at ChildProcess.emit (events.js:172:7)
gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 3.13.0-71-generic
gyp ERR! command "/usr/bin/nodejs" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /root/nodebb/node_modules/utf-8-validate
gyp ERR! node -v v4.2.3
gyp ERR! node-gyp -v v3.0.3
gyp ERR! not ok
Thanks in advance
I got the same error when I pulled the last tag, however when I switched to the master branch the error disapeared.