More actions
No edit summary |
No edit summary |
||
Line 12: | Line 12: | ||
npm cache clean --force | 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 = | ||
[[Category: Website Software]] | [[Category: Website Software]]] |
Revision as of 00:05, 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
]