Skip to content

Windows installer setting incorrect PATH variable #660

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

Closed
dionridley opened this issue Jan 29, 2015 · 2 comments
Closed

Windows installer setting incorrect PATH variable #660

dionridley opened this issue Jan 29, 2015 · 2 comments
Labels
windows Issues and PRs related to the Windows platform.

Comments

@dionridley
Copy link

It seems like the installer for Win64 is inserting

  • C:\Program Files\iojs\

instead of

  • C:\Program Files\iojs

Because of this on my windows 7 system it appeared in my very limited testing that node.exe would not run when called from outside the directory. Going into my PATH variable and removing the trailing slash seemed to resolve the issue. This may be an issue for Win32 as well.

@piscisaureus
Copy link
Contributor

Going into my PATH variable and removing the trailing slash seemed to resolve the issue.

Are you using the normal cmd.exe shell or something else? Because the node and iojs installers have been doing the same for the past 3 years and this has never come up.

I think it may just have been that when you tried for the second time, you opened a different console and that did the trick.

@brendanashworth brendanashworth added the windows Issues and PRs related to the Windows platform. label Jan 29, 2015
@dionridley
Copy link
Author

I was using cmd.exe and did open another cmd window after. It may have been an oddity or mistake on my end. If it is not an error in your windows tests feel free to close. Thanks.

This was referenced Jul 6, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

No branches or pull requests

3 participants