Open mrtpcet opened 4 years ago
Sorry, I've just seen the pull request and try to upgrade to the testing branch
No, same error even with the testing version 1.8.4
Remove /var/www/etherpad_mypads/src/package-lock.json
, or move it if you're not sure.
It should fix your issue.
Thanks for your quick answer ! But the issue is still here
Arg... I've unfortunately no other solution for you, because I don't know why it doesn't work in the first place... This error already happened, https://github.com/YunoHost-Apps/etherpad_mypads_ynh/issues/90, and that fix solved the issue. Even though not sure why/how...
I didn't find any useful resources about that issue, and the dev of etherpad didn't help to find out... Sorry to not provide any real solution. If you find what the problem is though, it would be interesting to know !
Ok ! Don't worry, I still can use Etherpad. I'll search for a solution too !
So, still in the test build, I upgrade npm in the etherpad_mypads
folder with :
sudo n stable
npm cache clean
I run bin/installDeps.sh
I run bin/run.sh
I restart etherpad_mypads service
I delete package-lock.json
I delete etherpad_mypads/package-lock.json
And now that's works. I'm not a specialist, so I'm just giving you my experience. !
Hi all,
I've been having the same issue described by @mrtpcet
Overall I'm delighted with the implementation and list of pre-installed plugins with this ynh app, but I wanted to remove the ep_automatic_logut plugin because I didn't need it.
Accessing the list of plugins via /admin/ works fine, but when install or uninstall buttons were clicked, nothing happened.
I tried removing the package-lock.json
file from /var/www/etherpad_mypads/src
but that didn't do it, so I tried the steps described by @mrtpcet above.
The first command seems incomplete to me, so I assumed is was sudo npm stable
? Didn't seem to do anything.
The second command cleared the cache.
Running the two scripts in the bin/
folder both returned the following error: Your npm version "3.10.10" is too old. npm 5.5.x or higher is required.
But removing package-lock.json
from /var/www/etherpad_mypads
AND /var/www/etherpad_mypads/src
seemed to do the trick.
I was able to remove the plugin, so I restarted the service, it looks like that step re-created the package-lock.json
files.
Now however, I am back in the same situation: I was testing this by trying to add a different plugin and this time I got the following:
Hope some of the above helps!
Thanks for the app!
All the best,
C
Hello !
I think since the last update, I can no longer install, update or uninstall plugins without getting this message :