More actions
No edit summary |
|||
Line 12: | Line 12: | ||
npm cache clean --force | 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. | |||
= 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 | |||
== TypeError: shim$1.Parser.looksLikeNumber is not a function nodebb == | == TypeError: shim$1.Parser.looksLikeNumber is not a function nodebb == | ||
After upgrading nodeBB, sometimes an error appears that says | After upgrading nodeBB, sometimes an error appears that says | ||
nodebb/node_modules/yargs/build/index.cjs:2804 | nodebb/node_modules/yargs/build/index.cjs:2804 | ||
if (shim$1.Parser.looksLikeNumber(arg) && | |||
^ | |||
TypeError: shim$1.Parser.looksLikeNumber is not a function | |||
TypeError: shim$1.Parser.looksLikeNumber is not a function | |||
'''Solution''' | '''Solution''' | ||
Line 26: | Line 39: | ||
Update the npm dependencies by running the command | Update the npm dependencies by running the command | ||
npm update | npm update | ||
= References = | |||
[[Category: Website Software]] | |||
= References = | = References = | ||
[[Category: Website Software]]] | [[Category: Website Software]]] |
Revision as of 00:07, 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
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[2]
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
]