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
Unknown file extension ".ts" for server.ts #6269
Comments
Nevermind, it works fine nodejs 21 |
Sorry for the late response. Yes this is the issue. Node >=20 works with Typescript. |
So it means that https://github.com/ether/etherpad-lite?tab=readme-ov-file#requirements should be updated ? |
Sorry to bother you @SamTV12345 but @meaz says it works after switching from node 20 to 21, but you said that "Node >=20 works with Typescript.". Does it mean that node 21 is required ? |
I heard different things. Some said it worked with NodeJS 18, some with 20. But NodeJS 21 seems to be always working. |
Thx for the feedback, on ubuntu 20.04 with node v20.5.1 & npm 10.5.0 i get the same error reported in this issue. That's why i was wondering if requirements should be updated in readme. |
We need to clarify which node version is needed to run Etherpad. README and package.json says v18 and based on https://endoflife.date/nodejs we could support v18 for at least this year. v18 seems to work without modification, but for v20.5.1 the following works:
makes it run on v20.5.1 |
@SamTV12345 |
I'd say it won't change in the near future. So feel free to adapt the commands for <Node21 |
Describe the bug
When running etherpad, I get
Unknown file extension ".ts" for /path/to/etherpad-lite/src/node/server.ts
To Reproduce
Steps to reproduce the behavior:
bin/run.sh
Error I get
Server (please complete the following information):
node --version
): 20.5.1 (but also tested with 19)npm --version
): 9.8.0 (but also tested with 10.5.0)The text was updated successfully, but these errors were encountered: