ether / etherpad-lite

Etherpad: A modern really-real-time collaborative document editor.
http://docs.etherpad.org/
Apache License 2.0
16.11k stars 2.8k forks source link

Etherpad 2.0.1: Depreciation error and git version warning #6293

Open elmatusov opened 2 months ago

elmatusov commented 2 months ago

Etherpad lite 2.0.1, Node.js v21.7.1, npm v10.5.0, esbuild 0.20.2, Windows 2022 server

When I'm running the Etherpad (start.bat), I'm getting the following error and warning in the cmd windows:

[ERROR] settings - (node:16220) [DEP0040] DeprecationWarning: Thepunycodemodule is deprecated. Please use a userland alternative instead.

[WARN] settings - Can't get git version for server header ENOENT: no such file or directory, lstat 'C:\etherpalite\.git'

How can I fix the error and the warning? I'd appreciate your help! Thanks!

SamTV12345 commented 2 months ago

You can't really fix the error. Something in the dependencies of Etherpad uses punycode which is now deprecated by Node. The other issue is probably because you don't have a git folder. The git folder is used for version control. When Etherpad starts it checks which version of Etherpad is running.

elmatusov commented 2 months ago

Thanks for your fast reply. I hope that the Etherpad development team will solve these problems in their future releases.

SamTV12345 commented 2 months ago

Sure we're fixing this problem for the next release. Version 2 introduced a lot of features and improvements.

elmatusov commented 2 months ago

[like] Matusov, Eugene reacted to your message:


From: SamTV12345 @.> Sent: Monday, April 1, 2024 6:58:34 PM To: ether/etherpad-lite @.> Cc: Matusov, Eugene @.>; Author @.> Subject: Re: [ether/etherpad-lite] Etherpad 2.0.1: Depreciation error and git version warning (Issue #6293)

Sure we're fixing this problem for the next release. Version 2 introduced a lot of features and improvements.

— Reply to this email directly, view it on GitHubhttps://github.com/ether/etherpad-lite/issues/6293#issuecomment-2030361304, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AEDNOAMXUGQ5QOFGQ4M6AE3Y3GU5VAVCNFSM6AAAAABFQ5WFO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDAMZQGM3DCMZQGQ. You are receiving this because you authored the thread.Message ID: @.***>