{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7849","labels_url":"https://api.github.com/repos/npm/npm/issues/7849/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7849/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7849/events","html_url":"https://github.com/npm/npm/issues/7849","id":66248524,"number":7849,"title":"node08: npm 2.7.5 compile error","user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-04-03T23:33:29Z","updated_at":"2015-04-04T01:20:12Z","closed_at":"2015-04-04T00:07:17Z","body":"This is an odd one. Not sure if ` npm ` still formally support ` node08 ` so feel free to close if you don't.\r\n\r\nWith ` node08 ` & ` npm 2.7.0 ` installed ` npm install -g npm@latest ` works fine, and the new ` npm ` 2.7.5 afterwards happily installs packages and prints its version and all that good stuff.\r\n\r\nTrying to compile ` npm ` afresh with ` node08 ` leads to this fun:\r\n\r\n```\r\nmake install\r\nnode cli.js install -g -f\r\n\r\nutil.js:538\r\n  ctor.prototype = Object.create(superCtor.prototype, {\r\n                                          ^\r\nTypeError: Cannot read property 'prototype' of undefined\r\n    at Object.exports.inherits (util.js:538:43)\r\n    at Object.<anonymous> (/private/tmp/node0820150404-38074-98cfzv/node-v0.8.26/npm_install/node_modules/npmlog/node_modules/are-we-there-yet/index.js:115:6)\r\n    at Module._compile (module.js:449:26)\r\n    at Object.Module._extensions..js (module.js:467:10)\r\n    at Module.load (module.js:356:32)\r\n    at Function.Module._load (module.js:312:12)\r\n    at Module.require (module.js:362:17)\r\n    at require (module.js:378:17)\r\n    at Object.<anonymous> (/private/tmp/node0820150404-38074-98cfzv/node-v0.8.26/npm_install/node_modules/npmlog/log.js:2:16)\r\n    at Module._compile (module.js:449:26)\r\nmake: *** [install] Error 1\r\n```\r\n\r\nThis worked fine for 2.7.0, so I can't imagine the method itself is suddenly causing problems :cry:."},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/89478988","html_url":"https://github.com/npm/npm/issues/7849#issuecomment-89478988","issue_url":"https://api.github.com/repos/npm/npm/issues/7849","id":89478988,"user":{"login":"DomT4","id":6998367,"avatar_url":"https://avatars.githubusercontent.com/u/6998367?v=3","gravatar_id":"","url":"https://api.github.com/users/DomT4","html_url":"https://github.com/DomT4","followers_url":"https://api.github.com/users/DomT4/followers","following_url":"https://api.github.com/users/DomT4/following{/other_user}","gists_url":"https://api.github.com/users/DomT4/gists{/gist_id}","starred_url":"https://api.github.com/users/DomT4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DomT4/subscriptions","organizations_url":"https://api.github.com/users/DomT4/orgs","repos_url":"https://api.github.com/users/DomT4/repos","events_url":"https://api.github.com/users/DomT4/events{/privacy}","received_events_url":"https://api.github.com/users/DomT4/received_events","type":"User","site_admin":false},"created_at":"2015-04-04T01:20:12Z","updated_at":"2015-04-04T01:20:12Z","body":"Bingo, ` 2.7.6 ` compiles, installs and functions perfectly. Thanks!\r\n\r\nI've always presumed I'm doing something wrong with ` npm `'s test mechanism, because I can never get it to work. I'll provide an example so you can laugh and point out what I'm doing wrong :smile:.\r\n\r\n```\r\n-> cd /usr/local/opt/node/libexec/npm/lib/node_modules/npm\r\n~> npm test\r\n\r\n> npm@2.7.4 test /usr/local/Cellar/node/0.12.2/libexec/npm/lib/node_modules/npm\r\n> tap --timeout 120 test/tap/*.js\r\n\r\nsh: tap: command not found\r\nnpm ERR! Test failed.  See above for more details.\r\n```"}}