There’s not much documentation on apostrophe-cms on web ( unlike Laravel CMS, WordPress etc.. ), so if you run into this kind of javascript error in console you might get stucked.
What probably happened is that you got some miss-match of versions in node_modules/apostrophe folder.
Solution is to open the module in question, e.g. apostrophe-login, the location will be node_modules/apostrophe/lib/modules/apostrophe-login/index.js and look for
self.pushCreateSingleton();
.. in the afterConstruct section. Simply comment it out, like this
// self.pushCreateSingleton();
and that’s that. Some versions don’t have this line in there, some do. Doesn’t work for me if it’s in there.