Open muzzol opened 5 months ago
to add more information, I also tried with:
pnpm run install-plugins ep_image_upload
and this is what I get:
[2024-04-05T21:11:56.108] [INFO] settings - Installing plugin from registry: ep_image_upload
[2024-04-05T21:11:56.242] [INFO] plugins - pnpm --version: 8.15.6
[2024-04-05T21:12:01.325] [ERROR] settings - Error reading package.json Error: ENOENT: no such file or directory, open '/opt/etherpad-lite/src/plugin_packages/lodash/package.json' for file:///opt/etherpad-lite/src/plugin_packages/lodash/package.json
[2024-04-05T21:12:01.329] [ERROR] settings - Error reading package.json Error: ENOENT: no such file or directory, open '/opt/etherpad-lite/src/plugin_packages/inherits/package.json' for file:///opt/etherpad-lite/src/plugin_packages/inherits/package.json
[2024-04-05T21:12:01.330] [ERROR] settings - Error reading package.json Error: ENOENT: no such file or directory, open '/opt/etherpad-lite/src/plugin_packages/call-bind/package.json' for file:///opt/etherpad-lite/src/plugin_packages/call-bind/package.json
[2024-04-05T21:12:01.330] [ERROR] settings - Error reading package.json Error: ENOENT: no such file or directory, open '/opt/etherpad-lite/src/plugin_packages/has-tostringtag/package.json' for file:///opt/etherpad-lite/src/plugin_packages/has-tostringtag/package.json
[2024-04-05T21:12:01.331] [ERROR] settings - Error reading package.json Error: ENOENT: no such file or directory, open '/opt/etherpad-lite/src/plugin_packages/is-typed-array/package.json' for file:///opt/etherpad-lite/src/plugin_packages/is-typed-array/package.json
[2024-04-05T21:12:01.331] [ERROR] settings - Error reading package.json Error: ENOENT: no such file or directory, open '/opt/etherpad-lite/src/plugin_packages/which-typed-array/package.json' for file:///opt/etherpad-lite/src/plugin_packages/which-typed-array/package.json
[2024-04-05T21:12:01.332] [ERROR] settings - Error reading package.json Error: ENOENT: no such file or directory, open '/opt/etherpad-lite/src/plugin_packages/graceful-fs/package.json' for file:///opt/etherpad-lite/src/plugin_packages/graceful-fs/package.json
[2024-04-05T21:12:01.333] [ERROR] settings - Error reading package.json Error: ENOENT: no such file or directory, open '/opt/etherpad-lite/src/plugin_packages/mime-types/package.json' for file:///opt/etherpad-lite/src/plugin_packages/mime-types/package.json
[2024-04-05T21:12:01.333] [ERROR] settings - Error reading package.json Error: ENOENT: no such file or directory, open '/opt/etherpad-lite/src/plugin_packages/underscore/package.json' for file:///opt/etherpad-lite/src/plugin_packages/underscore/package.json
Mine is working only with etherpad v2.0.2 (and not with v2.0.1)
On a fresh etherpad install this plugin doesn't work.
I did the typical install:
and then I installed ep_image_upload from admin page.
this is the error I'm receiving:
[2024-04-05T20:10:53.182] [ERROR] settings - Failed to load hook function "/opt/etherpad-lite-git-04042024/src/plugin_packages/ep_image_upload/index:clientVars" for plugin "ep_image_upload" part "ep_image_upload" hook set "hooks" hook "clientVars": Error: Cannot find module 'graceful-fs'
please, don't hesitate to ask for further info.