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

fixed install cmd on windows #89

Merged
merged 1 commit into from
Mar 20, 2020
Merged

fixed install cmd on windows #89

merged 1 commit into from
Mar 20, 2020

Conversation

onichandame
Copy link
Contributor

Problem

When run on Windows and agreed to install dependencies, a 'ENOENT' error is thrown.

Cause

The child_process.spawn method does not allow alias somehow, e.g. yarn.cmd aliased to yarn. A reference of this issue can be found here

Fix

simply replacing the 'yarnpkg' and 'npm' variables with the full-pathed executable fixes this.

@fannheyward fannheyward merged commit 125b21c into fannheyward:master Mar 20, 2020
@onichandame
Copy link
Contributor Author

@fannheyward Thanks for your approval. I just re-tried the script but it seems to be unchanged.

Perhaps the new commit has yet been published to the npm repository.

If possible please tell me your plan on publishing new versions to npm repo.

@fannheyward
Copy link
Owner

v0.3.1 has published, thanks for your PR.

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

Successfully merging this pull request may close these issues.

2 participants