Update form 1.11.0 to 1.11.12
-
Hi Guys!
I try to update to 1.11.12 by this:
git fetch git reset --hard origin/v1.11.x ./nodebb upgrade
and it show me error:
npm ERR! Linux 4.4.0-137-generic npm ERR! argv "/usr/bin/node" "/usr/bin/npm" "install" npm ERR! node v6.16.0 npm ERR! npm v3.10.10 npm ERR! path /var/www/community/www/node_modules/highlight.js/tools/build.js npm ERR! code ENOENT npm ERR! errno -2 npm ERR! syscall chmod npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/community/www/node_modules/highlight.js/tools/build.js' npm ERR! enoent ENOENT: no such file or directory, chmod '/var/www/community/www/node_modules/highlight.js/tools/build.js' npm ERR! enoent This is most likely not a problem with npm itself npm ERR! enoent and is related to npm not being able to find a file. npm ERR! enoent npm ERR! Please include the following file with any support request: npm ERR! /var/www/community/www/npm-debug.log
-
Node 6 is too old for NodeBB 1.11.x
-
Thanks!
Fixed by
npm install github:highlightjs/highlight.js
Copyright © 2024 NodeBB | Contributors