Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Errors in console for 'troubleshooting information' admin page #169

Open
thmo opened this issue Nov 28, 2020 · 1 comment
Open

Errors in console for 'troubleshooting information' admin page #169

thmo opened this issue Nov 28, 2020 · 1 comment

Comments

@thmo
Copy link

thmo commented Nov 28, 2020

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
Copy link
Author

thmo commented Nov 28, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant