Index: ensure_dependencies.py |
diff --git a/ensure_dependencies.py b/ensure_dependencies.py |
index b1aedfde38ef4a12145691aa313dd2635bf6b613..bcf3716667e8de212add06dd53b6ab6c6a8a5d59 100755 |
--- a/ensure_dependencies.py |
+++ b/ensure_dependencies.py |
@@ -271,7 +271,8 @@ def resolve_npm_dependencies(target, vcs): |
return |
try: |
- cmd = ['npm', 'install', '--only=production', '--loglevel=warn'] |
+ cmd = ['npm', 'install', '--only=production', |
+ '--loglevel=warn', '--no-package-lock'] |
subprocess.check_output(cmd, cwd=target) |
repo_types[vcs].ignore(os.path.join(target, 'node_modules'), target) |