question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

For Etherpad 1.7, require node 6.9. Since 1.8, require node 8.9 minimum

See original GitHub issue

A recent issue (#3401) suggests that when using Node <= 4 the application works (edit: as of 1.6.6, it no longer does), but plugins do not get installed. Upgrading to Node 6 solved that specific issue.

Maybe we should decide what is the minumim required Node version, and be clear about that.

installDeps.sh checks for Node >= 0.10:

https://github.com/ether/etherpad-lite/blob/7c971f24aa775f511ad977b8f1ff347ed22f56d0/bin/installDeps.sh#L51

but probably we should reconsider: Node 6 is currently the oldest supported version (going out of support on April 2019).

Using a more recent Node version could probably give us the possibility of modernizing the codebase, too (for example: async/await vs callbacks).

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (8 by maintainers)

github_iconTop GitHub Comments

2reactions
muxatorcommented, Aug 15, 2018

Here’s the support & deprecation plan for the Node runtime for Etherpad 1.7 and 1.8:

Etherpad 1.6.6 does not run on node <= 5 already. Node 6.9 is the first LTS release in the 6 series (EOL April 2019). The current supported LTS release series is 8 (EOL December 2019).

Node version Etherpad 1.6.6 Etherpad 1.7 Etherpad 1.8
V <= 5 Does not run already Won’t run.
Will print an ERROR and exit
Won’t run.
Will print an ERROR and exit
6.9 <= V < 8 Works Will run.
Will print a deprecation WARNING (support to be removed in 1.8).
Will use polyfills to shim missing features
Won’t run.
Will print an ERROR and exit
V >= 8 Works Will run Will run

Work happens in PR #3432.

For Node support status, see: https://github.com/nodejs/Release

0reactions
muxatorcommented, Feb 18, 2019

A recap on this:

To free resources for development on #3540 (migrate from callback-style to async programming), Etherpad 1.7.5 was released on 2019-01-26. That one will be the last version that runs on Node 6.x.

The first Node LTS version that supports async/await is Node 8, which nicely fits with our plan.

Thus: next version will be 1.8.0, it will get rid of callback hell, and will require Nodejs 8.9 (the first LTS version in branch 8.x).

Read more comments on GitHub >

github_iconTop Results From Across the Web

Etherpad v1.8.9 Manual & Documentation
This hook is called after the content of a node is collected by the usual methods. The cc object can be used to...
Read more >
CHANGELOG.md · lint-collab-client · mirrors / ether / etherpad-lite
REQUIREMENTS : minimum required Node version is 8.9.0 LTS. Release 1.8.3 will require at least Node 10.13.0 LTS; MINOR: in the HTTP API,...
Read more >
how to update etherpad-lite properly? - node.js
I have recently updated Etherpad-lite from version 1.8.6 to 1.8.13. For me, executing git pull origin and then checking out the 1.8.13 ...
Read more >
Node - CVE - Search Results
Since the fix of XSA-322 any Xenstore node owned by a removed domain will be ... at a privilege level that is higher...
Read more >
How to Install Etherpad on Ubuntu 18.04
Etherpad also requires Node.js, so we will install the latest version (at the time of writing this tutorial), Node.js 10.15.3.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found