{"action":"created","issue":{"url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/14","repository_url":"https://api.github.com/repos/Galooshi/sublime-import-js","labels_url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/14/comments","events_url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/14/events","html_url":"https://github.com/Galooshi/sublime-import-js/issues/14","id":174032456,"number":14,"title":"Broken Pipe","user":{"login":"LeonardoGentile","id":412061,"avatar_url":"https://avatars2.githubusercontent.com/u/412061?v=4","gravatar_id":"","url":"https://api.github.com/users/LeonardoGentile","html_url":"https://github.com/LeonardoGentile","followers_url":"https://api.github.com/users/LeonardoGentile/followers","following_url":"https://api.github.com/users/LeonardoGentile/following{/other_user}","gists_url":"https://api.github.com/users/LeonardoGentile/gists{/gist_id}","starred_url":"https://api.github.com/users/LeonardoGentile/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LeonardoGentile/subscriptions","organizations_url":"https://api.github.com/users/LeonardoGentile/orgs","repos_url":"https://api.github.com/users/LeonardoGentile/repos","events_url":"https://api.github.com/users/LeonardoGentile/events{/privacy}","received_events_url":"https://api.github.com/users/LeonardoGentile/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":29,"created_at":"2016-08-30T14:21:07Z","updated_at":"2018-02-14T09:12:39Z","closed_at":null,"author_association":"NONE","body":"Hi,\nI'm on Mac Os, using node 6.3.1, Sublime Text 3114.\n\nI've followed the installation instruction and already tried the suggested troubleshooting, but I had not luck. I've manually set the path to: \"/Users/foo/.nvm/versions/node/v6.3.1/bin/node\"\n\nI've tested this on a jsx file, I place the cursor under an components that I need to import, then either by hitting a shortcut or using the command palette I launch \"Import word under cursor\" and I get this error message:\n\n```\n{'fileContent': 'import React from \\'react\\';\\n\\n\\nimport Header from \"./Header\";\\n\\n\\nexport default class Layout extends React.Component {\\n  static propTypes = {\\n    name: React.PropTypes.string,\\n  };\\n\\n  constructor(props) {\\n    super(props);\\n  }\\n\\n  render() {\\n    return (\\n      <Header/>\\n      <Footer />\\n    );\\n  }\\n}\\n', 'command': 'word', 'commandArg': 'Footer', 'pathToFile': '/Users/foo/Projects/react-adminlte-custom/src/components/Layout.jsx'}\nTraceback (most recent call last):\n  File \"/Applications/Coding/Sublime Text.app/Contents/MacOS/sublime_plugin.py\", line 568, in run_\n    return self.run(edit, **args)\n  File \"import-js in /Users/foo/Library/Application Support/Sublime Text 3/Installed Packages/ImportJS.sublime-package\", line 158, in run\nBrokenPipeError: [Errno 32] Broken pipe\n```\n"},"comment":{"url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/comments/365541333","html_url":"https://github.com/Galooshi/sublime-import-js/issues/14#issuecomment-365541333","issue_url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/14","id":365541333,"user":{"login":"trotzig","id":578277,"avatar_url":"https://avatars2.githubusercontent.com/u/578277?v=4","gravatar_id":"","url":"https://api.github.com/users/trotzig","html_url":"https://github.com/trotzig","followers_url":"https://api.github.com/users/trotzig/followers","following_url":"https://api.github.com/users/trotzig/following{/other_user}","gists_url":"https://api.github.com/users/trotzig/gists{/gist_id}","starred_url":"https://api.github.com/users/trotzig/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/trotzig/subscriptions","organizations_url":"https://api.github.com/users/trotzig/orgs","repos_url":"https://api.github.com/users/trotzig/repos","events_url":"https://api.github.com/users/trotzig/events{/privacy}","received_events_url":"https://api.github.com/users/trotzig/received_events","type":"User","site_admin":false},"created_at":"2018-02-14T09:12:39Z","updated_at":"2018-02-14T09:12:39Z","author_association":"CONTRIBUTOR","body":"This issue was filed when we were still relying on eslint @pranjaltech. My guess would be that `importjs` isn't available on the PATH inside sublime. Can you run `importjs` in a terminal outside sublime? "}}
{"actor":{"display_login":"trotzig"}}