Closed risacher closed 3 years ago
I see this too. It's probably a race after https://github.com/ether/etherpad-lite/blob/develop/src/static/js/ace.js#L266, so the fetched resource for ace2_inner/ace2_common is executed before the require-kernel is executed.
It should not cause any harm, just a little slow down. Parent issue for reworking this area is https://github.com/ether/etherpad-lite/issues/4820
Thanks for the analysis, @webzwo0i. It didn't seem to affect anything important. At least now the diagnosis is documented as a (closed) issue.
Hello from 2024. I ran into the same error message, using Etherpad docker.
Still not resolved?
For what it's worth, I don't see this in my recent installs (and I have re-installed recently) so I suspect it's a transient problem.
Are you using Docker? ... The approach of "I don't have the problem." does not help.
Yeh, sorry. My experience may not be relevant. I do not currently use docker for Etherpad. (Although I do use it for Wordpress, Wekan, Gitea, & Owncloud.)
When loading a pad in 1.8.13, I get an error in the Chrome console: "ace2_common.js?callback=require.define&v=17d4f570:1 Uncaught ReferenceError: require is not defined at ace2_common.js?callback=require.define&v=17d4f570:1"
Also sometimes: "ace2_inner.js?callback=require.define&v=17d4f570:1 Uncaught ReferenceError: require is not defined at ace2_inner.js?callback=require.define&v=17d4f570:1"
Everything seems to work, as far as I can see. It's not a big deal, but seems a bit worrisome.
Server (please complete the following information):
node --version
): v16.1.0npm --version
): 7.12.1, but ep seems to bundle 6.14.13Desktop (please complete the following information):