{"action":"closed","issue":{"url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/2","repository_url":"https://api.github.com/repos/Galooshi/sublime-import-js","labels_url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/2/comments","events_url":"https://api.github.com/repos/Galooshi/sublime-import-js/issues/2/events","html_url":"https://github.com/Galooshi/sublime-import-js/issues/2","id":152934803,"number":2,"title":"Improve compatibility with nvm","user":{"login":"lencioni","id":195534,"avatar_url":"https://avatars.githubusercontent.com/u/195534?v=3","gravatar_id":"","url":"https://api.github.com/users/lencioni","html_url":"https://github.com/lencioni","followers_url":"https://api.github.com/users/lencioni/followers","following_url":"https://api.github.com/users/lencioni/following{/other_user}","gists_url":"https://api.github.com/users/lencioni/gists{/gist_id}","starred_url":"https://api.github.com/users/lencioni/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lencioni/subscriptions","organizations_url":"https://api.github.com/users/lencioni/orgs","repos_url":"https://api.github.com/users/lencioni/repos","events_url":"https://api.github.com/users/lencioni/events{/privacy}","received_events_url":"https://api.github.com/users/lencioni/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":18,"created_at":"2016-05-04T05:47:52Z","updated_at":"2016-05-14T22:15:00Z","closed_at":"2016-05-14T22:15:00Z","body":"Some folks might not have a system node installed but are using [nvm](https://github.com/creationix/nvm/blob/master/README.markdown). I thought it would work to configure the executable to point to the `importjs` binary installed in the `.nvm` directory (e.g. `/Users/foo/.nvm/versions/node/v4.4.3/bin/importjs`), but that gives us the \"couldn't find executable\" error message.\r\n\r\nWe could probably make this work by having Python use a login shell when executing the importjs command, but I'd like to avoid that if possible for performance reasons.\r\n\r\nI think all of the plugins besides atom-import-js will likely need similar attention.\r\n\r\nThis is related to https://github.com/Galooshi/import-js/issues/233"}}