{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/7179","labels_url":"https://api.github.com/repos/npm/npm/issues/7179/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/7179/comments","events_url":"https://api.github.com/repos/npm/npm/issues/7179/events","html_url":"https://github.com/npm/npm/issues/7179","id":54934058,"number":7179,"title":"I do not know what went wrong here (INSTALL)","user":{"login":"csturtevant","id":5302720,"avatar_url":"https://avatars.githubusercontent.com/u/5302720?v=3","gravatar_id":"","url":"https://api.github.com/users/csturtevant","html_url":"https://github.com/csturtevant","followers_url":"https://api.github.com/users/csturtevant/followers","following_url":"https://api.github.com/users/csturtevant/following{/other_user}","gists_url":"https://api.github.com/users/csturtevant/gists{/gist_id}","starred_url":"https://api.github.com/users/csturtevant/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/csturtevant/subscriptions","organizations_url":"https://api.github.com/users/csturtevant/orgs","repos_url":"https://api.github.com/users/csturtevant/repos","events_url":"https://api.github.com/users/csturtevant/events{/privacy}","received_events_url":"https://api.github.com/users/csturtevant/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/npm/npm/labels/support","name":"support","color":"FF91AF"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-20T20:20:58Z","updated_at":"2015-01-28T22:58:38Z","closed_at":null,"body":"This is on a reasonably new mac.\r\n\r\nI will take any help possible, I am sorry if I am unsure what is going on. I was just trying to use ruby with homebrew using a tutorial, however this is the message I received instead of the right one.\r\n\r\n```\r\nUser-MacBook-Pro:~ user$ npm version\r\nnpm ERR! version Bad package.json data undefined\r\nnpm ERR! Darwin 14.0.0\r\nnpm ERR! argv \"node\" \"/usr/local/bin/npm\" \"version\"\r\nnpm ERR! node v0.10.35\r\nnpm ERR! npm  v2.1.18\r\n\r\nnpm ERR! Unexpected token u\r\nnpm ERR! \r\nnpm ERR! If you need help, you may report this error at:\r\nnpm ERR!     <http://github.com/npm/npm/issues>\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /Users/user/npm-debug.log\r\n```\r\n**Below is the contents of the npm-debug.log**\r\n\r\n**Thank you very much for your time and help.**\r\n\r\n```\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ 'node', '/usr/local/bin/npm', 'version' ]\r\n2 info using npm@2.1.18\r\n3 info using node@v0.10.35\r\n4 verbose node symlink /usr/local/bin/node\r\n5 verbose config Skipping project config: /Users/chrissturtevant0/.npmrc. (matches userconfig)\r\n6 error version Bad package.json data undefined\r\n7 verbose type unexpected_token\r\n8 verbose stack SyntaxError: Unexpected token u\r\n8 verbose stack     at Object.parse (native)\r\n8 verbose stack     at /usr/local/lib/node_modules/npm/lib/version.js:36:19\r\n8 verbose stack     at evalmachine.<anonymous>:208:20\r\n8 verbose stack     at OpenReq.Req.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:141:5)\r\n8 verbose stack     at OpenReq.done (/usr/local/lib/node_modules/npm/node_modules/graceful-fs/graceful-fs.js:61:22)\r\n8 verbose stack     at Object.oncomplete (evalmachine.<anonymous>:108:15)\r\n9 verbose cwd /Users/chrissturtevant0\r\n10 error Darwin 14.0.0\r\n11 error argv \"node\" \"/usr/local/bin/npm\" \"version\"\r\n12 error node v0.10.35\r\n13 error npm  v2.1.18\r\n14 error Unexpected token u\r\n15 error If you need help, you may report this error at:\r\n15 error     <http://github.com/npm/npm/issues>\r\n16 verbose exit [ 1, true ]\r\n```"},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/71934900","html_url":"https://github.com/npm/npm/issues/7179#issuecomment-71934900","issue_url":"https://api.github.com/repos/npm/npm/issues/7179","id":71934900,"user":{"login":"smikes","id":5124609,"avatar_url":"https://avatars.githubusercontent.com/u/5124609?v=3","gravatar_id":"","url":"https://api.github.com/users/smikes","html_url":"https://github.com/smikes","followers_url":"https://api.github.com/users/smikes/followers","following_url":"https://api.github.com/users/smikes/following{/other_user}","gists_url":"https://api.github.com/users/smikes/gists{/gist_id}","starred_url":"https://api.github.com/users/smikes/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/smikes/subscriptions","organizations_url":"https://api.github.com/users/smikes/orgs","repos_url":"https://api.github.com/users/smikes/repos","events_url":"https://api.github.com/users/smikes/events{/privacy}","received_events_url":"https://api.github.com/users/smikes/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T22:58:38Z","updated_at":"2015-01-28T22:58:38Z","body":"Is this still a problem for you?\r\n\r\nWe are trying to clean up older npm issues, so if we don't hear back from you within a week, we will close this issue. (Don't worry -- you can always come back again and open a new issue!)\r\n\r\nThanks!\r\n"}}