Errors in console for 'troubleshooting information' admin page
thmo opened this issue · 1 comments
thmo commented
When calling the 'troubleshooting information' admin page (i.e. the /admin/plugins/info
URL), I see these messages in the log:
[ERROR] console - Failed to load 'ep_comments_page/static/js/index' for 'ep_comments_page/comments_page/client_hooks/postToolbarInit': ReferenceError: window is not defined
[ERROR] console - Failed to load 'ep_comments_page/static/js/index' for 'ep_comments_page/comments_page/client_hooks/postAceInit': ReferenceError: window is not defined
[ERROR] console - Failed to load 'ep_comments_page/static/js/index' for 'ep_comments_page/comments_page/client_hooks/aceAttribsToClasses': ReferenceError: window is not defined
[ERROR] console - Failed to load 'ep_comments_page/static/js/index' for 'ep_comments_page/comments_page/client_hooks/aceEditorCSS': ReferenceError: window is not defined
[ERROR] console - Failed to load 'ep_comments_page/static/js/index' for 'ep_comments_page/comments_page/client_hooks/aceEditEvent': ReferenceError: window is not defined
[ERROR] console - Failed to load 'ep_comments_page/static/js/index' for 'ep_comments_page/comments_page/client_hooks/aceInitialized': ReferenceError: window is not defined
ep_comments_page 0.1.37 (installed via npm install)
ep 1.8.6-256-g325941a
thmo commented
Steps to replicate:
$ git clone https://github.com/ether/etherpad-lite.git
$ cd etherpad-lite
$ bin/run.sh
$ npm install ep_comments_page
$ echo '{"users":{"admin":{"password":"changeme1","is_admin":true}}}' > credentials.json
$ bin/fastRun.sh
and then, in another terminal:
$ curl --user admin:changeme1 http://0.0.0.0:9001/admin/plugins/info
This is on Fedora 33, with
nodejs-14.14.0-2.fc33.x86_64
npm-6.14.8-1.14.14.0.2.fc33.x86_64