Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

NodeBB: Difference between revisions

From iFixWiki
No edit summary
No edit summary
Line 30: Line 30:


[[Category: Website Software]]
[[Category: Website Software]]
= References =
[[Category: Website Software]]]

Revision as of 00:08, 30 January 2021

NodeBB is a forum software that's modern, fast, and efficient. In contrast to most forums which use PHP, NodeBB leverages Node.js and JavaScript to create a high performance website.

Issues

SyntaxError: Unexpected end of JSON

When trying to setup or upgrade nodeBB sometimes an error pops up that says

  SyntaxError: Unexpected end of JSON input while parsing near '...party/-/connect-multi'

Solution[1]

Run the command:

  npm cache clean --force

TypeError: shim$1.Parser.looksLikeNumber is not a function nodebb

After upgrading nodeBB, sometimes an error appears that says

    nodebb/node_modules/yargs/build/index.cjs:2804
              if (shim$1.Parser.looksLikeNumber(arg) &&
                         ^
                       TypeError: shim$1.Parser.looksLikeNumber is not a function

Solution

Update the npm dependencies by running the command

  npm update

References