<p dir="auto">[root@pcbsd-7889] /home/jc/atom# script/build<br>
Node: v0.10.32<br>
npm: v1.4.28<br>
Installing build modules...<br>
Installing apm...</p>
<p dir="auto">events.js:72<br>
throw er; // Unhandled 'error' event<br>
^<br>
Error: incorrect header check<br>
at Zlib._binding.onerror (zlib.js:295:17)</p>
<p dir="auto">npm ERR! atom-package-manager@0.133.0 install: <code class="notranslate">node ./script/download-node.js</code><br>
npm ERR! Exit status 8<br>
npm ERR!<br>
npm ERR! Failed at the atom-package-manager@0.133.0 install script.<br>
npm ERR! This is most likely a problem with the atom-package-manager package,<br>
npm ERR! not with npm itself.<br>
npm ERR! Tell the author that this fails on your system:<br>
npm ERR!     node ./script/download-node.js<br>
npm ERR! You can get their info via:<br>
npm ERR!     npm owner ls atom-package-manager<br>
npm ERR! There is likely additional logging output above.<br>
npm ERR! System FreeBSD 10.1-RELEASE-p8<br>
npm ERR! command "node" "/usr/home/jc/atom/build/node_modules/.bin/npm" "--userconfig=/usr/home/jc/atom/.npmrc" "install" "--loglevel" "error"<br>
npm ERR! cwd /usr/home/jc/atom/apm<br>
npm ERR! node -v v0.10.32<br>
npm ERR! npm -v 1.4.28<br>
npm ERR! code ELIFECYCLE<br>
npm ERR! not ok code 0</p>
<p dir="auto">Any Idea on how to solve this?</p>
<p dir="auto">I followed the build instructions given for the FreeBSD (10.0 x86_64) here- <a href="https://github.com/atom/atom/blob/master/docs/build-instructions/freebsd.md">https://github.com/atom/atom/blob/master/docs/build-instructions/freebsd.md</a></p>
<p dir="auto">I compiled node and npm from sources (FreeBSD ports) but still no luck. Here is the full error log:<br>
<a href="http://pastebin.com/WQx8UXWs" rel="nofollow">http://pastebin.com/WQx8UXWs</a></p>