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

skip postinstall chown on Windows systems #17

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

felschr
Copy link
Contributor

@felschr felschr commented Jan 21, 2019

When running the current library version on Windows the process fails with an chown: invalid option -- '1' error messages.
This is because os.userInfo() returns -1 for uid & gid on Windows systems (https://nodejs.org/api/os.html#os_os_userinfo_options).

Skipping the postinstall step on Windows seems to be a good option for now.
On my system it's running fine.

When running the current library version on Windows the process fails with an `chown: invalid option -- '1'` error messages.
This is because `os.userInfo()` returns -1 for uid & gid on Windows systems (https://nodejs.org/api/os.html#os_os_userinfo_options).

Skipping the postinstall step on Windows seems to be a good option for now.
On my system it's running fine.
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.

1 participant