Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'platformio' is not recognized as an internal or external command, operable program or batch file. #18

Open
donnib opened this issue Jan 11, 2016 · 1 comment

Comments

@donnib
Copy link

donnib commented Jan 11, 2016

I get this on Windows ocasionally, i can build few times then suddenly i get this. I close/re-open atom and then it works again...annoying. Am i doing something wrong or is this a bug ?

@efatsi
Copy link
Contributor

efatsi commented Jan 11, 2016

I'm guessing Atom is losing track of the PATH required to find and run the platformio command. Looks like this happens from time to time on Windows - http://helpdeskgeek.com/how-to/fix-not-recognized-as-an-internal-or-external-command/.

To fix this, you can explicitly set the PATH that the package will use. Without setting it, it defaults to using the PATH that Atom was opened in. It's surprising to me that this would work initially and then stop after a couple builds. But oh well!

If you're able to find the PATH used in a command line window (echo %PATH%), and paste that into the package settings, that should resolve your issue. Let me know how that goes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants