d-a-n / ep_portal

Full featured portal with full text search, list of all pads, ...
3 stars 1 forks source link

Crashes on latest etherpad-lite #2

Open luto opened 11 years ago

luto commented 11 years ago

I tried to setup your plugin on etherpad-lite, running it after the installation gives me the error shown below. It does not work with master nor with develop.

[2012-12-31 20:36:44.918] [INFO] console - Installed plugins: ep_etherpad-lite, ep_portal
[2012-12-31 20:36:44.954] [INFO] console - Your Etherpad Lite git version is 1d5dbd4
[2012-12-31 20:36:44.954] [INFO] console - Report bugs at https://github.com/ether/etherpad-lite/issues

node.js:201
        throw e; // process.nextTick error, or 'error' event on first tick
              ^
TypeError: Object function app(req, res){ app.handle(req, res); } has no method 'remove'
    at Object.hook_fn (/home/luto/etherpad-lite/node_modules/ep_portal/index.js:14:11)
    at /home/luto/etherpad-lite/src/static/js/pluginfw/hooks.js:15:27
    at /home/luto/etherpad-lite/src/static/js/pluginfw/hooks.js:21:14
    at /home/luto/etherpad-lite/src/static/js/pluginfw/hooks.js:75:12
    at Array.map (native)
    at Function.<anonymous> (/home/luto/etherpad-lite/src/node_modules/underscore/underscore.js:95:56)
    at Object.callAll (/home/luto/etherpad-lite/src/static/js/pluginfw/hooks.js:74:22)
    at Object.restartServer (/home/luto/etherpad-lite/src/node/hooks/express.js:81:9)
    at Object.hook_fn (/home/luto/etherpad-lite/src/node/hooks/express.js:32:11)
    at /home/luto/etherpad-lite/src/static/js/pluginfw/hooks.js:15:27
d-a-n commented 11 years ago

Thanks for reporting. I will have a look in the next couple of days.