Преглед изворни кода

Check for node before trying to install

Steven Silvester пре 7 година
родитељ
комит
1d46582298
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      jupyterlab/commands.py

+ 1 - 0
jupyterlab/commands.py

@@ -144,6 +144,7 @@ def install_extension_async(extension, app_dir=None, logger=None, abort_callback
 
     If link is true, the source directory is linked using `npm link`.
     """
+    yield check_node()
     app_dir = get_app_dir(app_dir)
     logger = logger or logging
     if app_dir == here: