Ninja, Fatal Error


#1

I am getting:

C:\Users\Nick\electron>script\build.py ninja: fatal: chdir to 'out\R' - No such file or directory ninja: Entering directoryout\R’`

When trying to build. I just finished running python script\bootstrap.py -v as well.

I found a similar issue: http://stackoverflow.com/questions/30003930/error-when-try-to-compile-chromium

But, those commands are not working. Not sure where to look now.

Edit: I’m going to re-run bootstrap and see if there are any errors I forgot to check


#2

Hmm, very weird. When I first ran the bootstrap I didn’t have this show up, but I deleted my electron folder, and restarted.

Now, I get:

C:\Python27\python.exe C:\Users\Nick\electron\vendor\brightray\script\bootstrap
--commit ad63d8ba890bcaad2f1b7e6de148b7992f4d3af7 --target_arch ia32 https://s3.
amazonaws.com/github-janky-artifacts/libchromiumcontent
Downloading libchromiumcontent.zip...
https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent/win/ia32/ad63
d8ba890bcaad2f1b7e6de148b7992f4d3af7/libchromiumcontent.zip
................................................................................
.......
Extracting...
Downloading libchromiumcontent-static.zip...
https://s3.amazonaws.com/github-janky-artifacts/libchromiumcontent/win/ia32/ad63
d8ba890bcaad2f1b7e6de148b7992f4d3af7/libchromiumcontent-static.zip
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................................
................................................................
Extracting...
C:\Python27\python.exe C:\Users\Nick\electron\script\update.py
Download directxsdk-ia32     1517125  [100.0%]
Download vs2012-crt-ia32      773017  [100.0%]
'python' is not recognized as an internal or external command,
operable program or batch file.
gyp: Call to 'python -c "import sys; print sys.byteorder"' returned exit status
1.
None
Traceback (most recent call last):
  File "C:\Users\Nick\electron\script\bootstrap.py", line 210, in <module>
    sys.exit(main())
  File "C:\Users\Nick\electron\script\bootstrap.py", line 51, in main
    run_update()
  File "C:\Users\Nick\electron\script\bootstrap.py", line 206, in run_update
    execute_stdout([sys.executable, update])
  File "C:\Users\Nick\electron\script\lib\util.py", line 176, in execute_stdout
    raise e
subprocess.CalledProcessError: Command '['C:\\Python27\\python.exe', 'C:\\Users\
\Nick\\electron\\script\\update.py']' returned non-zero exit status 1

C:\Users\Nick\electron>

This happens at the end of my bootstrap.

Then I receive:

C:\Users\Nick\electron>script\build.py
ninja: fatal: chdir to 'out\R' - No such file or directory
ninja: Entering directory `out\R'

C:\Users\Nick\electron>

Hmm, should I re-install a different version of Python or something and fix the “‘python’ is not recognized as an internal or external command”, and try again? Or is my error somewhere else, not sure what to do here :anguished:

Edit: Okay, added the Python to my PATH directory (Environmental Variable) so that fixed that error! Now I will re-try!

Edit2: Now I am getting:

C:\Users\Nick\electron>python script/update.py
Traceback (most recent call last):
  File "vendor\brightray\vendor\gyp\gyp_main.py", line 18, in <module>
    sys.exit(gyp.script_main())
  File "C:\Users\Nick\electron\vendor\brightray\vendor\gyp\pylib\gyp\__init__.
", line 532, in script_main
    return main(sys.argv[1:])
  File "C:\Users\Nick\electron\vendor\brightray\vendor\gyp\pylib\gyp\__init__.
", line 525, in main
    return gyp_main(args)
  File "C:\Users\Nick\electron\vendor\brightray\vendor\gyp\pylib\gyp\__init__.
", line 510, in gyp_main
    generator.GenerateOutput(flat_list, targets, data, params)
  File "C:\Users\Nick\electron\vendor\brightray\vendor\gyp\pylib\gyp\generator
inja.py", line 2382, in GenerateOutput
    pool.map(CallGenerateOutputForConfig, arglists)
  File "C:\Python27\lib\multiprocessing\pool.py", line 251, in map
    return self.map_async(func, iterable, chunksize).get()
  File "C:\Python27\lib\multiprocessing\pool.py", line 567, in get
    raise self._value
Exception: Environment variable "SYSTEMROOT" required to be set to valid path

And my SYSTEMROOT IS:

And yes, I have VS2013 Update 4 installed. Hmmmm… I am so close!


#3

#4

Closed at the request of the author.