]> khamidou — GitHub mirrors - electron.git/commitdiff
Use npm@2.12.1
authorCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 00:54:03 +0000 (08:54 +0800)
committerCheng Zhao <zcbenz@gmail.com>
Fri, 3 Jul 2015 01:35:16 +0000 (09:35 +0800)
See https://github.com/npm/npm/issues/8702.

script/cibuild

index a4a58caea4d0e8cf94224c560dca1680ef8af8f1..70a17237ca614184fa429bf3913b61fded5a0fea 100755 (executable)
@@ -55,7 +55,7 @@ def main():
 
   # CI's npm is not reliable.
   npm = 'npm.cmd' if sys.platform == 'win32' else 'npm'
-  execute([npm, 'install', 'npm'])
+  execute([npm, 'install', 'npm@2.12.1'])
 
   run_script('bootstrap.py', ['--dev', '--target_arch=' + target_arch])