diff --git a/commands.py b/commands.py index a258980555..47e78d364e 100644 --- a/commands.py +++ b/commands.py @@ -84,6 +84,7 @@ def install_js_deps(local, build=True): cwd=NODE_ROOT, stdout=sys.stdout, stderr=sys.stderr, + env=env, ) if local is not None: plotly_archive = os.path.join(local, "plotly.js.tgz") @@ -92,6 +93,7 @@ def install_js_deps(local, build=True): cwd=NODE_ROOT, stdout=sys.stdout, stderr=sys.stderr, + env=env, ) if build: check_call( @@ -99,6 +101,7 @@ def install_js_deps(local, build=True): cwd=NODE_ROOT, stdout=sys.stdout, stderr=sys.stderr, + env=env, ) os.utime(NODE_MODULES, None)