@psychobunny Sorry I figured I should start over since I made a lot of mistakes during installation. It works now!
Nodebb Error
-
HI, I have error to install nodebb in debian:
16/1 22:29:48 [20173] - error: [build] client side styles build failed
16/1 22:29:48 [20173] - error: [build] Encountered error during build step: Inline JavaScript is not enabled. Is it set in your options?
16/1 22:29:48 [20173] - error: message=Inline JavaScript is not enabled. Is it set in your options?, stack=undefined, type=Syntax, filename=/root/forum/nodebb/node_modules/nodebb-theme-persona/less/bootstrap/buttons.less, index=1134, line=51, column=4, callLine=NaN, callExtract=undefined, extract=[ pointer-events: none; // Future-proof disabling of clicks, .opacity(.65);, .box-shadow(none);] -
What tutorial are you using? Try the Ubuntu instructions, the Debian ones are outdated.
-
That's not an error we've seen. But we "always" build on CentOS.
-
@PitaJ Hi, I use :https://nodebb.readthedocs.io/en/latest/installing/os/debian.html
and have other question. in tutorial say git clone -b v1.5.x https://github.com/NodeBB/NodeBB.git nodebb, but the latest version is 1.11.1 ? thanks you -
@Nicolas-0 the readthedocs documentation is very out of date, use docs.nodebb.org
-
@julian Hi, I try install git clone -b v1.11.x https://github.com/NodeBB/NodeBB nodebb in centOS now, and say : error: uncaughtException: util.promisify is not a function
and i install: npm install util.promisify, but say util.promisify is not a function -
Your version of Node.js is way too old.
-
@julian All is ok, thanks you for your assistance, I love the Forum !!,
-
@Nicolas-0 said in Nodebb Error:
HI, I have error to install nodebb in debian:
16/1 22:29:48 [20173] - error: [build] client side styles build failed
16/1 22:29:48 [20173] - error: [build] Encountered error during build step: Inline JavaScript is not enabled. Is it set in your options?
16/1 22:29:48 [20173] - error: message=Inline JavaScript is not enabled. Is it set in your options?, stack=undefined, type=Syntax, filename=/root/forum/nodebb/node_modules/nodebb-theme-persona/less/bootstrap/buttons.less, index=1134, line=51, column=4, callLine=NaN, callExtract=undefined, extract=[ pointer-events: none; // Future-proof disabling of clicks, .opacity(.65);, .box-shadow(none);]This is because less 3.x apparently does not support inline javascript.
You probably ran "npm audit" which threw out four less vulnerabilities and prompted you to update less to fix them, which broke the client side styles build step of NodeBB.
Fix it by downgrading less to the supported version by running "npm install less@2.7.3".
That should cause the next ./nodebb build to process correctly.
Suggested Topics
-
SOLVED Can't start NodeBB
Technical Support • • Firelad -
SOLVED Move from mybb to nodebb
Technical Support • • MrKavatch