{"issue":{"created_at":"2011-06-16T05:25:44Z","state":"closed","updated_at":"2011-12-03T07:10:57Z","user":{"gravatar_id":"af69a632c927c8e3f2449bfb893a1fcd","id":193272,"url":"https://api.github.com/users/redonkulus","login":"redonkulus","avatar_url":"https://secure.gravatar.com/avatar/af69a632c927c8e3f2449bfb893a1fcd?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"comments":6,"body":"Whenever I tried to run an npm command, I would get a \"Bus error\" message. I tried re-installing and uninstalling npm but the same error occurs. Therefore, I tried removing the installed npm files manually from /usr/local/bin and ~/local/node/lib/node_modules but for some reason I continue to get the same error below:\r\n\r\n$ which npm\r\n$\r\n\r\n$ curl http://npmjs.org/install.sh | sh \r\n  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current\r\n                                 Dload  Upload   Total   Spent    Left  Speed\r\n100  3874  100  3874    0     0  13708      0 --:--:-- --:--:-- --:--:-- 31921\r\nfetching: http://registry.npmjs.org/npm/-/npm-1.0.13.tgz\r\n0.5.0-pre\r\n1.0.13\r\nprefix=/Users/sbertal/local/node\r\n\r\nThis script will find and eliminate any shims, symbolic\r\nlinks, and other cruft that was installed by npm 0.x.\r\n\r\nIs this OK? enter 'yes' or 'no' \r\nyes\r\n\r\nAll clean!\r\n! [ -d .git ] || git submodule update --init\r\nnode cli.js cache clean\r\nmake: *** [uninstall] Bus error\r\nnpm-install-2518.sh: line 150:  2749 Bus error               $node cli.js cache clean\r\nnpm-install-2518.sh: line 150:  2750 Bus error               $node cli.js rm npm --force --global\r\nnpm-install-2518.sh: line 150:  2751 Bus error               $node cli.js install . --force --global\r\nIt failed\r\n\r\nSystem info:\r\nMacOSX 10.5.8\r\nDarwin equalnews-lm 9.8.0 Darwin Kernel Version 9.8.0: Wed Jul 15 16:55:01 PDT 2009; root:xnu-1228.15.4~1/RELEASE_I386 i386\r\n\r\n\r\nAny ideas on a possible fix?","assignee":null,"id":1065572,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"labels":[],"number":1035,"title":"Bus error trying to install npm","html_url":"https://github.com/isaacs/npm/issues/1035","closed_at":"2011-06-16T15:39:07Z","url":"https://api.github.com/repos/isaacs/npm/issues/1035","milestone":null},"action":"created","comment":{"created_at":"2011-12-03T07:10:57Z","updated_at":"2011-12-03T07:10:57Z","user":{"gravatar_id":"ef6e2efcbabfeb18c4a899b383607493","id":1221499,"url":"https://api.github.com/users/designerfuzzi","login":"designerfuzzi","avatar_url":"https://secure.gravatar.com/avatar/ef6e2efcbabfeb18c4a899b383607493?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png"},"body":"i installed node 0.6.3, and tryed older versions..\r\nthey all had problems with openssl, so i had to $ ./configure --without-ssl\r\n\r\nany compiling of node was successfull!\r\nno warning about 64bit code or other..!\r\n\r\nanytime i tryed to install npm on top was not possible like explaned.\r\nsure it calls node to handle things so the most common idea where the error comes from was node.js itsself. \r\neven if its ready compiled and seems to be useable and can answer its version by $ node --version \r\n\r\nso i found out the error comes from node install and not npm.\r\nthis error was the previously silent thing from node.js when trying to run this with $ node file.js\r\n\r\nby the way:\r\nwould be nice to see if the error comes from node.js and not npm by stdout like \"node.js:bad cpu / bus error\"\r\n\r\ni did go backward thru all possible versions from node.. compiled everyone with open-ssl. \r\nthe problems with openssl and bus error was the same until node.js 0.5.0\r\n\r\nonly stable running NODE.js for macOSX 10.5.8 on a i386 CPU was http://nodejs.org/dist/node-v0.4.9.tar.gz\r\nsince this install is running here seems to be everything is working.. \r\neven NPM without any error, works like a charme.","id":2999470,"url":"https://api.github.com/repos/isaacs/npm/issues/comments/2999470"}}