To find which files are erroring, addconsole.error('json error in file', path.join(coreLanguagesPath, lang, namespace + '.json'));
Before each of the following lines of the linked file:
chrome console have errors
I don't know why these errors happen
getPlatformAPI etc? Is that provided by some library?
The "mismatched anonymous define" error is caused by some script you're including having
define(, ...) instead of
define('my-library', , ...)
It is advised to insert this libraries as a plugin
module, which is specifically made for require.js scripts.
Edit: New documentation page about it: https://docs.nodebb.org/development/plugins/libraries/