Meteor build command fails with an unhandled error event in events.js

When running a meteor build command in my project, I get the following output:

BambooService@BAMBOO D:\Builds\PROD-HUB-JOB1
> meteor build meteorbuildtest
events.js:141
      throw er; // Unhandled 'error' event
      ^

Error: write EOF
    at exports._errnoException (util.js:907:11)
    at WriteWrap.afterWrite (net.js:785:14)

Meteor is at version 1.4.1 and the project has been updated to use 1.4.1 also.

Is anybody else experiencing the same thing? Also, demeteorizer is not working as it depends on meteor build to work.

Update: The problem is only happening on my Windows machines. The command runs OK on my Mac.

Same problem here; i guess we should open an issue on github?

Do you have the build tools? Got this from one of our devs:

meteor npm install --global --production windows-build-tools

I had the same issue and found this after some more googling:

Seems indeed to be a Windows and tar related issue.
Using 7zip on Windows is now planned for 1.4.2

yes - on my windows box, I had a different tar.exe in the path
as soon as I removed it, this error went away