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

Initialization Error #101

Open
dylan0356 opened this issue Apr 23, 2024 · 0 comments
Open

Initialization Error #101

dylan0356 opened this issue Apr 23, 2024 · 0 comments

Comments

@dylan0356
Copy link

dylan0356 commented Apr 23, 2024

[2024-04-23T19:20:19.335] [ERROR] settings - Error: /opt/etherpad-lite/node_modules/ep_etherpad-lite/templates/pad.html:70
    68|           <% e.begin_block("editbarMenuLeft"); %>
    69|           <%- toolbar.menu(settings.toolbar.left, isReadOnly, 'left', 'pad') %>
 >> 70|           <% e.end_block(); %>
    71|       </ul>
    72|       <ul class="menu_right" role="toolbar">
    73|           <% e.begin_block("editbarMenuRight"); %>

Cannot find module 'ep_font_family/templates/editbarButtons.ejs' from '/opt/etherpad-lite/node_modules/ep_etherpad-lite/templates'
    at Function.resolveSync [as sync] (/opt/etherpad-lite/node_modules/.pnpm/[email protected]/node_modules/resolve/lib/sync.js:111:15)
    at exports.require (/opt/etherpad-lite/src/node/eejs/index.ts:2:1579)
    at exports.eejsBlock_editbarMenuLeft [as hook_fn] (/opt/etherpad-lite/src/plugin_packages/ep_font_family/index.js:22:24)
    at callHookFnSync (/opt/etherpad-lite/src/static/js/pluginfw/hooks.js:122:16)
    at /opt/etherpad-lite/src/static/js/pluginfw/hooks.js:195:54
    at Array.map (<anonymous>)
    at exports.callAll (/opt/etherpad-lite/src/static/js/pluginfw/hooks.js:195:25)
    at exports.end_block (/opt/etherpad-lite/src/node/eejs/index.ts:2:1172)
    at eval ("/opt/etherpad-lite/node_modules/ep_etherpad-lite/templates/pad.html":72:10)
    at pad (/opt/etherpad-lite/node_modules/.pnpm/[email protected]/node_modules/ejs/lib/ejs.js:703:17)
    at exports.require (/opt/etherpad-lite/src/node/eejs/index.ts:2:2038)
    at /opt/etherpad-lite/src/node/hooks/express/specialpages.ts:2:1962
    at Layer.handle [as handle_request] (/opt/etherpad-lite/node_modules/.pnpm/[email protected]/node_modules/express/lib/router/layer.js:95:5)
    at next (/opt/etherpad-lite/node_modules/.pnpm/[email protected]/node_modules/express/lib/router/route.js:144:13)
    at Route.dispatch (/opt/etherpad-lite/node_modules/.pnpm/[email protected]/node_modules/express/lib/router/route.js:114:3)
    at Layer.handle [as handle_request] (/opt/etherpad-lite/node_modules/.pnpm/[email protected]/node_modules/express/lib/router/layer.js:95:5)
[2024-04-23T19:20:20.147] [DEBUG] http - 200, GET /health

Currently it provides an internal server error when loading with font family

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