Ensure that node is 32bit on win32

This commit is contained in:
Corey Johnson 2014-05-14 14:49:35 -07:00
parent fab60e7faa
commit aeac32ae47

View File

@ -6,6 +6,11 @@ if (nodeMinorVersion !== '10') {
process.exit(1);
}
if (process.platform == 'win32' && process.arch != 'ia32') {
console.warn("You must run script/bootstrap and script/build with the 32bit version of node");
process.exit(1);
}
var safeExec = require('./utils/child-process-wrapper.js').safeExec;
var fs = require('fs');
var path = require('path');