{"action":"created","issue":{"url":"https://api.github.com/repos/atom-community/linter/issues/772","labels_url":"https://api.github.com/repos/atom-community/linter/issues/772/labels{/name}","comments_url":"https://api.github.com/repos/atom-community/linter/issues/772/comments","events_url":"https://api.github.com/repos/atom-community/linter/issues/772/events","html_url":"https://github.com/atom-community/linter/issues/772","id":97335702,"number":772,"title":"[ERR!] npm run lint ","user":{"login":"jhaoheng","id":1822475,"avatar_url":"https://avatars.githubusercontent.com/u/1822475?v=3","gravatar_id":"","url":"https://api.github.com/users/jhaoheng","html_url":"https://github.com/jhaoheng","followers_url":"https://api.github.com/users/jhaoheng/followers","following_url":"https://api.github.com/users/jhaoheng/following{/other_user}","gists_url":"https://api.github.com/users/jhaoheng/gists{/gist_id}","starred_url":"https://api.github.com/users/jhaoheng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jhaoheng/subscriptions","organizations_url":"https://api.github.com/users/jhaoheng/orgs","repos_url":"https://api.github.com/users/jhaoheng/repos","events_url":"https://api.github.com/users/jhaoheng/events{/privacy}","received_events_url":"https://api.github.com/users/jhaoheng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-26T17:27:09Z","updated_at":"2015-07-26T22:05:00Z","closed_at":null,"body":"Hi there\r\nWhen i run 'npm run lint'\r\nand ERR log is \r\n--\r\n0 info it worked if it ends with ok\r\n1 verbose cli [ 'node', '/usr/local/bin/npm', 'run', 'lint' ]\r\n2 info using npm@2.5.1\r\n3 info using node@v0.12.1\r\n4 verbose stack Error: ENOENT, open '/usr/local/bin/package.json'\r\n4 verbose stack     at Error (native)\r\n5 verbose cwd /usr/local/bin\r\n6 error Darwin 14.4.0\r\n7 error argv \"node\" \"/usr/local/bin/npm\" \"run\" \"lint\"\r\n8 error node v0.12.1\r\n9 error npm  v2.5.1\r\n10 error path /usr/local/bin/package.json\r\n11 error code ENOENT\r\n12 error errno -2\r\n13 error enoent ENOENT, open '/usr/local/bin/package.json'\r\n13 error enoent This is most likely not a problem with npm itself\r\n13 error enoent and is related to npm not being able to find a file.\r\n14 verbose exit [ -2, true ]\r\n--\r\nThen i find i have no 'package.json' file in that folder.\r\n\r\nHow to fix this error?\r\nThanks"},"comment":{"url":"https://api.github.com/repos/atom-community/linter/issues/comments/125044008","html_url":"https://github.com/atom-community/linter/issues/772#issuecomment-125044008","issue_url":"https://api.github.com/repos/atom-community/linter/issues/772","id":125044008,"user":{"login":"steelbrain","id":4278113,"avatar_url":"https://avatars.githubusercontent.com/u/4278113?v=3","gravatar_id":"","url":"https://api.github.com/users/steelbrain","html_url":"https://github.com/steelbrain","followers_url":"https://api.github.com/users/steelbrain/followers","following_url":"https://api.github.com/users/steelbrain/following{/other_user}","gists_url":"https://api.github.com/users/steelbrain/gists{/gist_id}","starred_url":"https://api.github.com/users/steelbrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/steelbrain/subscriptions","organizations_url":"https://api.github.com/users/steelbrain/orgs","repos_url":"https://api.github.com/users/steelbrain/repos","events_url":"https://api.github.com/users/steelbrain/events{/privacy}","received_events_url":"https://api.github.com/users/steelbrain/received_events","type":"User","site_admin":false},"created_at":"2015-07-26T22:05:00Z","updated_at":"2015-07-26T22:05:00Z","body":"Are you getting this when you run `npm run lint` in the linter dir or some other dir?"}}