Electron Compilation Error with gyp


#1

Hi !
I’m trying to build an electron version using this instructions.
So my problem is when I’m typing the line python script\bootstrap.py -v, the cmd windows throws me an error :

C:\Python 2.7.14\python.exe D:\Electron\electron\script\update.py
Traceback (most recent call last):
  File "D:\Electron\electron\script\update.py", line 105, in <module>
    sys.exit(main())
  File "D:\Electron\electron\script\update.py", line 24, in main
    return update_gyp()
  File "D:\Electron\electron\script\update.py", line 53, in update_gyp
    return (run_gyp(target_arch, 0) or run_gyp(target_arch, 1))
  File "D:\Electron\electron\script\update.py", line 58, in run_gyp
    import_vs_env(target_arch)
  File "D:\Electron\electron\script\lib\util.py", line 249, in import_vs_env
    env = get_vs_env('[15.0,16.0)', vs_arch)
  File "D:\Electron\electron\script\lib\env_util.py", line 81, in get_vs_env
    stdout=subprocess.PIPE)
  File "C:\Python 2.7.14\lib\subprocess.py", line 390, in __init__
    errread, errwrite)
  File "C:\Python 2.7.14\lib\subprocess.py", line 640, in _execute_child
    startupinfo)
WindowsError: [Error 2] Le fichier spÚcifiÚ est introuvable
None
Traceback (most recent call last):
  File "script\bootstrap.py", line 282, in <module>
    sys.exit(main())
  File "script\bootstrap.py", line 68, in main
    run_update(defines, args.msvs)
  File "script\bootstrap.py", line 259, in run_update
    execute_stdout(args)
  File "D:\Electron\electron\script\lib\util.py", line 184, in execute_stdout
    raise e
subprocess.CalledProcessError: Command '['C:\\Python 2.7.14\\python.exe', 'D:\\Electron\\electron\\script\\update.py']' returned non-zero exit status 1

If anyone has the same issue and could tell me how to solve it, it’d be great.