{"action":"created","issue":{"url":"https://api.github.com/repos/vigetlabs/platomformio/issues/15","labels_url":"https://api.github.com/repos/vigetlabs/platomformio/issues/15/labels{/name}","comments_url":"https://api.github.com/repos/vigetlabs/platomformio/issues/15/comments","events_url":"https://api.github.com/repos/vigetlabs/platomformio/issues/15/events","html_url":"https://github.com/vigetlabs/platomformio/issues/15","id":120789823,"number":15,"title":"Warn before build/upload that `platformio` isn't in PATH","user":{"login":"ivankravets","id":1760209,"avatar_url":"https://avatars.githubusercontent.com/u/1760209?v=3","gravatar_id":"","url":"https://api.github.com/users/ivankravets","html_url":"https://github.com/ivankravets","followers_url":"https://api.github.com/users/ivankravets/followers","following_url":"https://api.github.com/users/ivankravets/following{/other_user}","gists_url":"https://api.github.com/users/ivankravets/gists{/gist_id}","starred_url":"https://api.github.com/users/ivankravets/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ivankravets/subscriptions","organizations_url":"https://api.github.com/users/ivankravets/orgs","repos_url":"https://api.github.com/users/ivankravets/repos","events_url":"https://api.github.com/users/ivankravets/events{/privacy}","received_events_url":"https://api.github.com/users/ivankravets/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/vigetlabs/platomformio/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-12-07T14:50:21Z","updated_at":"2015-12-07T15:51:02Z","closed_at":"2015-12-07T15:51:02Z","body":"Friends,\r\n\r\nThis issue is improvement for #14. Need to implement logic with finding `platformio` in environment PATH(including `atom.config.get('platomformio.environPath')`) before any CMD/RUN operation.\r\n\r\nI propose to show ALERT/WARNING that `platformio` isn't found in current env PATH and need go to package's settings and specify valid PATH.\r\n\r\nIn 70-80% cases there no need to specify PATH in settings because users install @PlatformIO in global system. \r\n\r\nPing @efatsi , @RomFouq"},"comment":{"url":"https://api.github.com/repos/vigetlabs/platomformio/issues/comments/162564182","html_url":"https://github.com/vigetlabs/platomformio/issues/15#issuecomment-162564182","issue_url":"https://api.github.com/repos/vigetlabs/platomformio/issues/15","id":162564182,"user":{"login":"efatsi","id":1410181,"avatar_url":"https://avatars.githubusercontent.com/u/1410181?v=3","gravatar_id":"","url":"https://api.github.com/users/efatsi","html_url":"https://github.com/efatsi","followers_url":"https://api.github.com/users/efatsi/followers","following_url":"https://api.github.com/users/efatsi/following{/other_user}","gists_url":"https://api.github.com/users/efatsi/gists{/gist_id}","starred_url":"https://api.github.com/users/efatsi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/efatsi/subscriptions","organizations_url":"https://api.github.com/users/efatsi/orgs","repos_url":"https://api.github.com/users/efatsi/repos","events_url":"https://api.github.com/users/efatsi/events{/privacy}","received_events_url":"https://api.github.com/users/efatsi/received_events","type":"User","site_admin":false},"created_at":"2015-12-07T15:51:02Z","updated_at":"2015-12-07T15:51:02Z","body":"I think I'm going to close this issue until another PATH problem comes up. I've updated the README to instruct users to configure the PATH setting. If that's followed, then none of these issues should ever happen (hopefully)."}}