Skip to content
Snippets Groups Projects
Commit 0701e1a7 authored by Calen Pennington's avatar Calen Pennington
Browse files

Use local node_modules as system_node_path if none is set

parent 52d209d0
No related branches found
No related tags found
No related merge requests found
......@@ -123,9 +123,7 @@ sys.path.append(COMMON_ROOT / 'lib')
# For Node.js
system_node_path = os.environ.get("NODE_PATH", None)
if system_node_path is None:
system_node_path = "/usr/local/lib/node_modules"
system_node_path = os.environ.get("NODE_PATH", REPO_ROOT / 'node_modules')
node_paths = [COMMON_ROOT / "static/js/vendor",
COMMON_ROOT / "static/coffee/src",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment