浏览代码

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: