anaisbetts / grunt-build-atom-shell

Grunt task to build Electron and rebuild node modules
MIT License
122 stars 11 forks source link

build failed on Windows #24

Closed toly-k closed 9 years ago

toly-k commented 9 years ago

I am trying to build with settings from the sample with node v0.10.36, "grunt-build-atom-shell": "1.1.5" on Windows 7 vs 2012 using grunt cli tool.

However I get very nondescript error:

C:\Users\user1\Documents\build>grunt -v
Initializing
Command-line options: --verbose

Reading "Gruntfile.js" Gruntfile...OK

Registering Gruntfile tasks.
Reading package.json...OK
Parsing package.json...OK
Initializing config...OK

Registering "grunt-build-atom-shell" local Npm module tasks.
Reading C:\Users\user1\Documents\build\node_modules\grunt-build-atom-shell\pac
kage.json...OK
Parsing C:\Users\user1\Documents\build\node_modules\grunt-build-atom-shell\pac
kage.json...OK
Loading "build-atom-shell-task.coffee" tasks...OK
+ build-atom-shell, rebuild-atom-shell, rebuild-native-modules
Loading "task-helpers.coffee" tasks...OK
>> No tasks were registered or unregistered.
Loading "Gruntfile.js" tasks...OK
+ default

No tasks specified, running default tasks.
Running tasks: default

Running "default" task

Running "build-atom-shell" task
Verifying properties build-atom-shell.buildDir, build-atom-shell.tag, build-atom
-shell.projectName, build-atom-shell.productName exist in config...OK
>> Cloning to C:/tmp
>> Running: git clone https://github.com/atom/atom-shell
>> Running: git fetch origin
>> Running: git reset --hard HEAD
>> Running: git checkout v0.19.5
>> Rigging atom.gyp to have correct name
Reading C:\tmp\atom-shell\atom.gyp...OK
Writing C:\tmp\atom-shell\atom.gyp...OK
>> Running: python script/bootstrap.py
>> Running: python script/build.py -c Release -t test
>>
>> Rigging atom.gyp to have correct name
Reading C:\tmp\atom-shell\atom.gyp...OK
Writing C:\tmp\atom-shell\atom.gyp...OK
>> Running: python script/bootstrap.py
>> Running: python script/build.py -c Release -t test
>>
Warning: null Use --force to continue.

Aborted due to warnings.

I have also tried on Win8.1 vs2013 with similar results. Is there any way to make it more verbose?

anaisbetts commented 9 years ago

What happens when you run:

cd C:\tmp\atom-shell ; python script/build.py -c Release -t test
toly-k commented 9 years ago

Installing VS Community Edition fixed the issue. Sorry for the trouble.