Upgrading NodeBB to v1.18.6
-
Hi..
While upgarding NodeBB from v1.15.0 to v1.18.6, getting error,info: [build] client side styles build started
error: [build] client side styles build failed
error: [build] Encountered error during build stepSyntaxError: Inline JavaScript is not enabled. Is it set in your options? in /node_modules/nodebb-theme-persona-custom-scaf/less/bootstrap/buttons.less on line 51, column 5:
50 pointer-events: none; // Future-proof disabling of clicks
51 .opacity(.65);
52 .box-shadow(none);Error occurred during upgrade: undefined
(node:6394) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag--unhandled-rejections=strict
(see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(Usenode --trace-warnings ...
to show where the warning was created)
(node:6394) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code -
@amod said in Upgrading NodeBB to v1.18.6:
nodebb-theme-persona-custom-scaf
Find and update the below code in that custom theme.