From: IgorKlopov Date: Tue, 25 Nov 2014 18:27:31 +0000 (-0800) Subject: Verbose required paths X-Git-Tag: v0.19.5~9^2~6 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=1af0e0a762b33f8804744be8be02484edd223b5b;p=electron.git Verbose required paths I installed to `c:\nodejs` to avoid spaces in path (old habits die hard). So i had an obstacle you see. --- diff --git a/script/compile-coffee.py b/script/compile-coffee.py index 179931a5..aba5665c 100755 --- a/script/compile-coffee.py +++ b/script/compile-coffee.py @@ -9,6 +9,7 @@ SOURCE_ROOT = os.path.dirname(os.path.dirname(__file__)) WINDOWS_NODE_PATHs = [ 'C:/Program Files/nodejs/node.exe', 'C:/Program Files (x86)/nodejs/node.exe', + 'C:/nodejs/node.exe', ] @@ -21,7 +22,7 @@ def main(): if sys.platform in ['win32', 'cygwin']: node = find_node() if not node: - print 'Node.js is required for building atom-shell' + print 'Node.js is required for building atom-shell at paths:\n' + '\n'.join(WINDOWS_NODE_PATHs) return 1 subprocess.check_call(['node', coffee, '-c', '-o', output_dir, input_file], executable=node)