@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 [email protected]".
That should cause the next ./nodebb build to process correctly.