From ee310f0ff597b7c611fb9cce06516fd274db2b28 Mon Sep 17 00:00:00 2001 From: Jason Grout Date: Wed, 1 Apr 2020 15:16:46 -0700 Subject: [PATCH] Update nodejs error message to not give an outdated version. Instead of saying a specific version (which is now out of date), I think we can suppose that people will install the latest version, or at least the latest LTS. --- jupyterlab_server/process.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/jupyterlab_server/process.py b/jupyterlab_server/process.py index 28e17942..355822c0 100644 --- a/jupyterlab_server/process.py +++ b/jupyterlab_server/process.py @@ -55,7 +55,7 @@ def which(command, env=None): if not command_with_path: if command in ['nodejs', 'node', 'npm']: - msg = 'Please install nodejs 5+ and npm before continuing installation. nodejs may be installed using conda or directly from the nodejs website.' + msg = 'Please install Node.js and npm before continuing installation. You may be able to install Node.js from your package manager, from conda, or directly from the Node.js website (https://nodejs.org).' raise ValueError(msg) raise ValueError('The command was not found or was not ' + 'executable: %s.' % command)