Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions build.js
Original file line number Diff line number Diff line change
Expand Up @@ -63,19 +63,19 @@ else {
// Build it
function build() {
cp.spawn(
process.platform === 'win32' ? 'node-gyp.cmd' : 'node-gyp', ['rebuild'].concat(args), {
stdio: 'pipe'
process.platform === 'win32' ? 'pangyp.cmd' : 'pangyp', ['rebuild'].concat(args), {
stdio: 'inherit'
})
.on('exit', function(err) {
if (err) {
if (err === 127) {
console.error(
'node-gyp not found! Please upgrade your install of npm! You need at least 1.1.5 (I think) ' +
'pangyp not found! Please upgrade your install of npm! You need at least 1.1.5 (I think) ' +
'and preferably 1.1.30.'
);
}
else {
console.error('Build failed');
console.error('Build failed: ' + err);
}
return process.exit(err);
}
Expand Down