NodeBB: Difference between revisions

From iFixWiki
No edit summary
Line 1: Line 1:
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<ref>https://community.nodebb.org/post/78112</ref>'''
Run the command:
npm cache clean --force
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.
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.



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

References

]