Error after completing install of nodebb-shortcuts plugin

Technical Support

Suggested Topics


  • 0 Votes
    10 Posts
    545 Views

    @baris oh thank you, just done!

  • Nodebb Error

    Technical Support
    0 Votes
    9 Posts
    926 Views

    @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.

  • Nodebb build stuck

    Technical Support
    0 Votes
    8 Posts
    1k Views

    @PitaJ said in Nodebb build stuck:

    Try adding "series": true in your config.json

    thanks! I was struggling what to do, I have only 1GB ram machine, now I can finally make builds there.
    But I had to add also swap file..
    https://linuxize.com/post/how-to-add-swap-space-on-ubuntu-18-04/#before-you-begin

  • 1 Votes
    8 Posts
    1k Views

    @scottalanmiller mind opening an issue detailing your specific problems?

  • 0 Votes
    11 Posts
    4k Views

    Hi,

    It looks like rhc app create nodebb nodejs-0.10 command did not create nodebb directory.

    Please make sure, that you're running commands on your own computer, not through ssh on OpenShift side.

    Try to remove nodebb from your OpenShift account and start from scratch.

    Calling git init may seemed like it helped, but it created local only repository, which was not connected with any of the others (OpenShift, NodeBB and openshift-nodebb). That is why git push origin master did not work - origin remote was not configured.