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

Use different command name in Windows setup #801

Merged
merged 1 commit into from
Mar 3, 2019

Conversation

captainsafia
Copy link
Collaborator

I ran into this issue while setting up BinderHub for development on Windows.

On Windows, the npm command is a wrapper, not a real executable. As a result, calling subprocess.check_call with "npm" as a parameter fails as an executable with that name does not exist.

The solution is to invoke the actual executable, called npm.cmd, when running on Windows systems.

@consideRatio consideRatio merged commit 8357c90 into master Mar 3, 2019
@consideRatio
Copy link
Member

LGTM! =)

yuvipanda pushed a commit to jupyterhub/helm-chart that referenced this pull request Mar 3, 2019
@betatim betatim deleted the safia/mar/fix-setup-windows branch March 4, 2019 08:16
@choldgraf choldgraf added the maintenance Under the hood improvements and fixes label Oct 9, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
maintenance Under the hood improvements and fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants