{"action":"created","issue":{"url":"https://api.github.com/repos/npm/npm/issues/10896","labels_url":"https://api.github.com/repos/npm/npm/issues/10896/labels{/name}","comments_url":"https://api.github.com/repos/npm/npm/issues/10896/comments","events_url":"https://api.github.com/repos/npm/npm/issues/10896/events","html_url":"https://github.com/npm/npm/issues/10896","id":123109149,"number":10896,"title":"npm ERR! Failed to parse json","user":{"login":"themicmac","id":6225541,"avatar_url":"https://avatars.githubusercontent.com/u/6225541?v=3","gravatar_id":"","url":"https://api.github.com/users/themicmac","html_url":"https://github.com/themicmac","followers_url":"https://api.github.com/users/themicmac/followers","following_url":"https://api.github.com/users/themicmac/following{/other_user}","gists_url":"https://api.github.com/users/themicmac/gists{/gist_id}","starred_url":"https://api.github.com/users/themicmac/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/themicmac/subscriptions","organizations_url":"https://api.github.com/users/themicmac/orgs","repos_url":"https://api.github.com/users/themicmac/repos","events_url":"https://api.github.com/users/themicmac/events{/privacy}","received_events_url":"https://api.github.com/users/themicmac/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-12-19T20:30:19Z","updated_at":"2015-12-19T20:36:46Z","closed_at":null,"body":"Trying to get some simple demos done for my projects portfolio. All was going well. I've done this a million times (true, last time I did this was about a month ago). I created a package.json to get my gruntjs plugins rolling. Did the npm install. Nothing seems to work. I can't figure it out? Am I doing something wrong?\r\n\r\nThis is my package.json:\r\n\r\n{\r\n  \"name\": \"scroll2bottomScrollupNanimate\",\r\n  \"version\": \"0.1.0\",\r\n  \"devDependencies\": {\r\n    \"grunt\": \"~0.4.5\",\r\n    \"grunt-contrib-jshint\": \"~0.10.0\",\r\n    \"grunt-contrib-watch\": \"~0.4.3\",\r\n  }\r\n}\r\n\r\nand this is my output:\r\n\r\nnpm ERR! Failed to parse json\r\nnpm ERR! Unexpected token }\r\nnpm ERR! File: /Users/ismaelrivera/Sites/demos.speggo/Scroll2bottomScrollupNanimate/package.json\r\nnpm ERR! Failed to parse package.json data.\r\nnpm ERR! package.json must be actual JSON, not just JavaScript.\r\nnpm ERR! \r\nnpm ERR! This is not a bug in npm.\r\nnpm ERR! Tell the package author to fix their package.json file. JSON.parse\r\n\r\nnpm ERR! System Darwin 10.8.0\r\nnpm ERR! command \"/usr/local/Cellar/node/0.10.26/bin/node\" \"/usr/local/bin/npm\" \"install\" \"grunt\" \"--save-dev\"\r\nnpm ERR! cwd /Users/ismaelrivera/Sites/demos.speggo/Scroll2bottomScrollupNanimate\r\nnpm ERR! node -v v0.10.26\r\nnpm ERR! npm -v 1.4.3\r\nnpm ERR! file /Users/ismaelrivera/Sites/demos.speggo/Scroll2bottomScrollupNanimate/package.json\r\nnpm ERR! code EJSONPARSE\r\nnpm ERR! \r\nnpm ERR! Additional logging details can be found in:\r\nnpm ERR!     /Users/ismaelrivera/Sites/demos.speggo/Scroll2bottomScrollupNanimate/npm-debug.log\r\nnpm ERR! not ok code 0\r\n\r\nHere is my log:\r\n\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ '/usr/local/Cellar/node/0.10.26/bin/node',\r\n1 verbose cli   '/usr/local/bin/npm',\r\n1 verbose cli   'install' ]\r\n2 info using npm@1.4.3\r\n3 info using node@v0.10.26\r\n4 error install Couldn't read dependencies\r\n5 error Failed to parse json\r\n5 error Unexpected token }\r\n6 error File: /Users/ismaelrivera/Sites/demos.speggo/Scroll2bottomScrollupNanimate/package.json\r\n7 error Failed to parse package.json data.\r\n7 error package.json must be actual JSON, not just JavaScript.\r\n7 error\r\n7 error This is not a bug in npm.\r\n7 error Tell the package author to fix their package.json file. JSON.parse\r\n8 error System Darwin 10.8.0\r\n9 error command \"/usr/local/Cellar/node/0.10.26/bin/node\" \"/usr/local/bin/npm\" \"install\"\r\n10 error cwd /Users/ismaelrivera/Sites/demos.speggo/Scroll2bottomScrollupNanimate\r\n11 error node -v v0.10.26\r\n12 error npm -v 1.4.3\r\n13 error file /Users/ismaelrivera/Sites/demos.speggo/Scroll2bottomScrollupNanimate/package.json\r\n14 error code EJSONPARSE\r\n15 verbose exit [ 1, true ]\r\n\r\nPlease someone, let me know what I am doing wrong here? Thanks."},"comment":{"url":"https://api.github.com/repos/npm/npm/issues/comments/166022364","html_url":"https://github.com/npm/npm/issues/10896#issuecomment-166022364","issue_url":"https://api.github.com/repos/npm/npm/issues/10896","id":166022364,"user":{"login":"bramdevries","id":1002245,"avatar_url":"https://avatars.githubusercontent.com/u/1002245?v=3","gravatar_id":"","url":"https://api.github.com/users/bramdevries","html_url":"https://github.com/bramdevries","followers_url":"https://api.github.com/users/bramdevries/followers","following_url":"https://api.github.com/users/bramdevries/following{/other_user}","gists_url":"https://api.github.com/users/bramdevries/gists{/gist_id}","starred_url":"https://api.github.com/users/bramdevries/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bramdevries/subscriptions","organizations_url":"https://api.github.com/users/bramdevries/orgs","repos_url":"https://api.github.com/users/bramdevries/repos","events_url":"https://api.github.com/users/bramdevries/events{/privacy}","received_events_url":"https://api.github.com/users/bramdevries/received_events","type":"User","site_admin":false},"created_at":"2015-12-19T20:36:46Z","updated_at":"2015-12-19T20:36:46Z","body":"You need to remove the `,` on the last line of your dependencies (`\"grunt-contrib-watch\": \"~0.4.3\",`) JSON doesn't allow trailing commas"}}