Skip to content
Snippets Groups Projects
Commit 7b7a14fd authored by murgatroid99's avatar murgatroid99
Browse files

Fix npm install failing to download Node headers in run_tests.py

parent 60f406ab
No related branches found
No related tags found
No related merge requests found
...@@ -202,7 +202,9 @@ class NodeLanguage(object): ...@@ -202,7 +202,9 @@ class NodeLanguage(object):
def pre_build_steps(self): def pre_build_steps(self):
# Default to 1 week cache expiration # Default to 1 week cache expiration
return [['npm', 'update', '--cache-min', '604800']] return [['npm', 'update', '--cache-min', '604800'],
['npm', 'install', '-g', 'node-gyp-install'],
['node-gyp-install']]
def make_targets(self): def make_targets(self):
return [] return []
......
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