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

Could not find 'X'. The program may not be installed. on Windows 10 #1054

Closed
UziTech opened this issue Jul 7, 2016 · 4 comments · Fixed by #1062
Closed

Could not find 'X'. The program may not be installed. on Windows 10 #1054

UziTech opened this issue Jul 7, 2016 · 4 comments · Fixed by #1062
Assignees
Milestone

Comments

@UziTech
Copy link
Contributor

UziTech commented Jul 7, 2016

I was having an issue where every command that I did not explicitly set the path to was throwing an error.

Could not find 'X'. The program may not be installed.

I tracked the bug down to /src/beautifiers/beautifier.coffee#L171

        options.path ?= env.PATH

Turns out my PATH variable was set to Path so env.PATH was undefined

I have no idea how the variable name got changed but when I changed it back and restarted Atom everything worked fine.

Just throwing this out there for anyone else who may have this issue.

@Glavin001
Copy link
Owner

That's very strange. Thanks for sharing so other users can find this in the search!

@UziTech
Copy link
Contributor Author

UziTech commented Jul 11, 2016

Same thing happened again after updating windows 10. I have submitted feedback to windows about the issue but I'm wondering if Atom-Beautify should check for this in the which function?

@Glavin001
Copy link
Owner

Glavin001 commented Jul 11, 2016

I suppose you could look into adding support for Path (along with the existing PATH)? See https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/beautifier.coffee#L171 and perhaps other lines.

@Glavin001
Copy link
Owner

I really want to focus on improving the installation experience for users. I have created a new Issue, #1687, to target this problem. Please provide your feedback! Thanks in advance.

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

Successfully merging a pull request may close this issue.

2 participants