FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

skip postinstall chown on Windows systems by felschr · Pull Request #17 · cfchou/serverless-python-individually · GitHub

Repository navigation

skip postinstall chown on Windows systems - #17

Open
felschr wants to merge 1 commit into
cfchou:masterfrom
felschr:patch-1
Open

felschr wants to merge 1 commit into
cfchou:masterfrom
felschr:patch-1

Conversation

felschr commented Jan 21, 2019

Copy link
Copy Markdown
Contributor

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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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


Back | FazBrowse Home | New Git URL