Hi @baris, thanks so much.
I didn't checked it out since I thought it was only enabling automatic syntax detection and not highlighting, but after checking it I got highlighting out of the box for free 🙂
Centos nodebb v0.7.x is OK
Prior to September 13 are normal installation v0.8.x,Yesterday also normal.
But now, each installation to be wrong!!why?????
My English is not good.
Can you provide the full error stack?
Perhaps post in your native language too? There may be speakers of that language here.
centos 6.5. v0.8.x npm ERR! not ok code 0
make: *** [Release/obj.target/magic/src/magic.o] ���� 1 make: Leaving directory `/home/nodebb/node_modules/mmmagic/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/node-gyp/lib/build.js:267:23) gyp ERR! stack at ChildProcess.emit (events.js:98:17) gyp ERR! stack at Process.ChildProcess._handle.onexit (child_process.js:820:12) gyp ERR! System Linux 2.6.32-431.23.3.el6.i686 gyp ERR! command "node" "/usr/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/nodebb/node_modules/mmmagic gyp ERR! node -v v0.10.36 gyp ERR! node-gyp -v v0.10.6 gyp ERR! not ok CC(target) Release/obj.target/lwip_decoder/src/lib/jpeg/jdhuff.o npm ERR! weird error 1
Try installing newer 0.12.7 node from source *** AS ROOT *** (assuming you are x64 here):
yum -y update yum -y groupinstall "Development Tools" cd /usr/src wget https://nodejs.org/download/release/latest-v0.12.x/node-v0.12.7-linux-x64.tar.gz tar zxf node-v0.12.7-linux-x64.tar.gz cd node-v0.12.7-linux-x64 ./configure make make install
Check it's installed and the version is correct afterwards with
cd /your/nodebb/installation sudo rm -rf node_modules npm install
npm WARN peerDependencies The peer dependency redisearch@^0.0.4 included from nodebb-plugin-dbsearch will no npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly. npm WARN peerDependencies The peer dependency nodebb-theme-vanilla@>=0.0.137 included from nodebb-plugin-spam-be-gone will no npm WARN peerDependencies longer be automatically installed to fulfill the peerDependency npm WARN peerDependencies in npm 3+. Your application will need to depend on it explicitly. * warn What 是什么 * * * *
Yes, OK. Those are warnings not errors. Did it install OK?