{"action":"created","issue":{"url":"https://api.github.com/repos/eslint/eslint/issues/5981","repository_url":"https://api.github.com/repos/eslint/eslint","labels_url":"https://api.github.com/repos/eslint/eslint/issues/5981/labels{/name}","comments_url":"https://api.github.com/repos/eslint/eslint/issues/5981/comments","events_url":"https://api.github.com/repos/eslint/eslint/issues/5981/events","html_url":"https://github.com/eslint/eslint/issues/5981","id":151381488,"number":5981,"title":"Eslint raising error 'import/no-unresolved' for system modules on node v6","user":{"login":"ken210","id":216612,"avatar_url":"https://avatars.githubusercontent.com/u/216612?v=3","gravatar_id":"","url":"https://api.github.com/users/ken210","html_url":"https://github.com/ken210","followers_url":"https://api.github.com/users/ken210/followers","following_url":"https://api.github.com/users/ken210/following{/other_user}","gists_url":"https://api.github.com/users/ken210/gists{/gist_id}","starred_url":"https://api.github.com/users/ken210/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ken210/subscriptions","organizations_url":"https://api.github.com/users/ken210/orgs","repos_url":"https://api.github.com/users/ken210/repos","events_url":"https://api.github.com/users/ken210/events{/privacy}","received_events_url":"https://api.github.com/users/ken210/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/eslint/eslint/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/eslint/eslint/labels/core","name":"core","color":"c7def8"},{"url":"https://api.github.com/repos/eslint/eslint/labels/evaluating","name":"evaluating","color":"fef2c0"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-04-27T13:12:48Z","updated_at":"2016-04-27T17:26:24Z","closed_at":null,"body":"- ESLint v2.8.0\r\n- Run lint on node v6\r\n- Expected same result as node v5\r\n- Raising errors for system modules `'path'`\r\n\r\nTest case: https://github.com/ken210/eslint-node-6-bug-report\r\n\r\nWorks on node v5\r\n```\r\n$ nvm use 5\r\nNow using node v5.7.0 (npm v3.6.0)\r\n$ node -v\r\nv5.7.0\r\n$ ./node_modules/.bin/eslint test.js\r\n```\r\n\r\nOn node v6\r\n```\r\n$ nvm use 6\r\nNow using node v6.0.0 (npm v3.8.8)\r\n$ node -v\r\nv6.0.0\r\n$ ./node_modules/.bin/eslint test.js\r\n\r\n/opt/eduk/eslint-node-6-bug-report/test.js\r\n  1:0   error  Resolve error: Path must be a string. Received null  import/no-unresolved\r\n  1:22  error  Unable to resolve path to module 'path'              import/no-unresolved\r\n\r\n✖ 2 problems (2 errors, 0 warnings)\r\n\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/eslint/eslint/issues/comments/215159820","html_url":"https://github.com/eslint/eslint/issues/5981#issuecomment-215159820","issue_url":"https://api.github.com/repos/eslint/eslint/issues/5981","id":215159820,"user":{"login":"alberto","id":72561,"avatar_url":"https://avatars.githubusercontent.com/u/72561?v=3","gravatar_id":"","url":"https://api.github.com/users/alberto","html_url":"https://github.com/alberto","followers_url":"https://api.github.com/users/alberto/followers","following_url":"https://api.github.com/users/alberto/following{/other_user}","gists_url":"https://api.github.com/users/alberto/gists{/gist_id}","starred_url":"https://api.github.com/users/alberto/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alberto/subscriptions","organizations_url":"https://api.github.com/users/alberto/orgs","repos_url":"https://api.github.com/users/alberto/repos","events_url":"https://api.github.com/users/alberto/events{/privacy}","received_events_url":"https://api.github.com/users/alberto/received_events","type":"User","site_admin":false},"created_at":"2016-04-27T17:26:24Z","updated_at":"2016-04-27T17:26:24Z","body":"Looks like an issue with https://github.com/benmosher/eslint-plugin-import/issues/272"}}