{"action":"created","issue":{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/415","repository_url":"https://api.github.com/repos/benmosher/eslint-plugin-import","labels_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/415/labels{/name}","comments_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/415/comments","events_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/415/events","html_url":"https://github.com/benmosher/eslint-plugin-import/issues/415","id":163738247,"number":415,"title":"1.10.1 breaks ESLint 2.13.1 and Node < 4","user":{"login":"rhettlivingston","id":8278882,"avatar_url":"https://avatars.githubusercontent.com/u/8278882?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettlivingston","html_url":"https://github.com/rhettlivingston","followers_url":"https://api.github.com/users/rhettlivingston/followers","following_url":"https://api.github.com/users/rhettlivingston/following{/other_user}","gists_url":"https://api.github.com/users/rhettlivingston/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettlivingston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettlivingston/subscriptions","organizations_url":"https://api.github.com/users/rhettlivingston/orgs","repos_url":"https://api.github.com/users/rhettlivingston/repos","events_url":"https://api.github.com/users/rhettlivingston/events{/privacy}","received_events_url":"https://api.github.com/users/rhettlivingston/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":{"login":"benmosher","id":3709196,"avatar_url":"https://avatars.githubusercontent.com/u/3709196?v=3","gravatar_id":"","url":"https://api.github.com/users/benmosher","html_url":"https://github.com/benmosher","followers_url":"https://api.github.com/users/benmosher/followers","following_url":"https://api.github.com/users/benmosher/following{/other_user}","gists_url":"https://api.github.com/users/benmosher/gists{/gist_id}","starred_url":"https://api.github.com/users/benmosher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmosher/subscriptions","organizations_url":"https://api.github.com/users/benmosher/orgs","repos_url":"https://api.github.com/users/benmosher/repos","events_url":"https://api.github.com/users/benmosher/events{/privacy}","received_events_url":"https://api.github.com/users/benmosher/received_events","type":"User","site_admin":false},"assignees":[{"login":"benmosher","id":3709196,"avatar_url":"https://avatars.githubusercontent.com/u/3709196?v=3","gravatar_id":"","url":"https://api.github.com/users/benmosher","html_url":"https://github.com/benmosher","followers_url":"https://api.github.com/users/benmosher/followers","following_url":"https://api.github.com/users/benmosher/following{/other_user}","gists_url":"https://api.github.com/users/benmosher/gists{/gist_id}","starred_url":"https://api.github.com/users/benmosher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/benmosher/subscriptions","organizations_url":"https://api.github.com/users/benmosher/orgs","repos_url":"https://api.github.com/users/benmosher/repos","events_url":"https://api.github.com/users/benmosher/events{/privacy}","received_events_url":"https://api.github.com/users/benmosher/received_events","type":"User","site_admin":false}],"milestone":null,"comments":21,"created_at":"2016-07-04T20:13:07Z","updated_at":"2016-07-06T14:28:40Z","closed_at":null,"body":"I work with Meteor which is just starting to adopt Node 4 (in Beta). We have many sample apps running Node 0.10.x.\r\n\r\nI just downloaded the main Meteor todos app, ran \"npm install\" and got eslint-plugin-import 1.10.1 installed with ESLint 2.13.1. This produced the following error...\r\n\r\n```bash\r\nrhett@dreamshot:~/oob/meteors/todos1.3$ meteor npm run lint\r\n\r\n> @ lint /home/rhett/oob/meteors/todos1.3\r\n> eslint .\r\n\r\n\r\n/home/rhett/oob/meteors/todos1.3/node_modules/eslint-plugin-import/lib/index.js:6\r\nconst rules = exports.rules = {\r\n^^^^^\r\n\r\nOops! Something went wrong! :(\r\n\r\nESLint couldn't find the plugin \"eslint-plugin-import\". This can happen for a couple different reasons:\r\n\r\n1. If ESLint is installed globally, then make sure eslint-plugin-import is also installed globally. A globally-installed ESLint cannot find a locally-installed plugin.\r\n\r\n2. If ESLint is installed locally, then it's likely that the plugin isn't installed correctly. Try reinstalling by running the following:\r\n\r\n    npm i eslint-plugin-import@latest --save-dev\r\n\r\nIf you still can't figure out the problem, please stop by https://gitter.im/eslint/eslint to chat with the team.\r\n\r\n\r\nnpm ERR! Linux 4.4.0-28-generic\r\nnpm ERR! argv \"node\" \"/home/rhett/.meteor/packages/meteor-tool/.1.3.0_3.139i3kk++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm\" \"run\" \"lint\"\r\nnpm ERR! node v0.10.43\r\nnpm ERR! npm  v2.14.22\r\nnpm ERR! code ELIFECYCLE\r\nnpm ERR! @ lint: `eslint .`\r\nnpm ERR! Exit status 1\r\nnpm ERR! \r\nnpm ERR! Failed at the @ lint script 'eslint .'.\r\nnpm ERR! This is most likely a problem with the  package,\r\nnpm ERR! not with npm itself.\r\nnpm ERR! Tell the author that this fails on your system:\r\nnpm ERR!     eslint .\r\nnpm ERR! You can get information on how to open an issue for this project with:\r\nnpm ERR!     npm bugs \r\nnpm ERR! Or if that isn't available, you can get their info via:\r\nnpm ERR! \r\nnpm ERR!     npm owner ls \r\nnpm ERR! There is likely additional logging output above.\r\n\r\nnpm ERR! Please include the following file with any support request:\r\nnpm ERR!     /home/rhett/oob/meteors/todos1.3/npm-debug.log\r\n```\r\n\r\nI'm no NPM expert, but do you perhaps need a node 4 requirement in your package.json now?\r\n```json\r\n\"engines\": {\r\n    \"node\": \">=4\"\r\n  }\r\n```\r\n\r\nReverting to 1.10.0 fixed my problem. Also, running with Node 4 fixed it, but that isn't something our user base at large is ready for yet."},"comment":{"url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/comments/230789105","html_url":"https://github.com/benmosher/eslint-plugin-import/issues/415#issuecomment-230789105","issue_url":"https://api.github.com/repos/benmosher/eslint-plugin-import/issues/415","id":230789105,"user":{"login":"rhettlivingston","id":8278882,"avatar_url":"https://avatars.githubusercontent.com/u/8278882?v=3","gravatar_id":"","url":"https://api.github.com/users/rhettlivingston","html_url":"https://github.com/rhettlivingston","followers_url":"https://api.github.com/users/rhettlivingston/followers","following_url":"https://api.github.com/users/rhettlivingston/following{/other_user}","gists_url":"https://api.github.com/users/rhettlivingston/gists{/gist_id}","starred_url":"https://api.github.com/users/rhettlivingston/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rhettlivingston/subscriptions","organizations_url":"https://api.github.com/users/rhettlivingston/orgs","repos_url":"https://api.github.com/users/rhettlivingston/repos","events_url":"https://api.github.com/users/rhettlivingston/events{/privacy}","received_events_url":"https://api.github.com/users/rhettlivingston/received_events","type":"User","site_admin":false},"created_at":"2016-07-06T14:28:40Z","updated_at":"2016-07-06T14:28:40Z","body":"No luck. I pushed my super-simple demo to https://github.com/rhettlivingston/debug-eslint-plugin-import so that others may easily work with this issue."}}
{"actor":{"display_login":"rhettlivingston"}}