Skip to content
This repository was archived by the owner on Apr 8, 2020. It is now read-only.

On Windows, patch Node's lstat to work around permissions error. Fixes #1101 - #1102

Merged
SteveSandersonMS merged 2 commits into
rel/2.0.0from
windows-permissions-workaround
Jul 11, 2017
Merged

SteveSandersonMS merged 2 commits into
rel/2.0.0from
windows-permissions-workaround

Conversation

@SteveSandersonMS

@SteveSandersonMS SteveSandersonMS commented Jul 11, 2017 •

Copy link
Copy Markdown
Member

It's not great to have to patch Node internals like this, but it's the best we've got in the short term. See #1101 for details of the problem this solves.

This logic was tested on Node versions 0.12.0, 4.6.2, 6.11.0, and 8.1.3 (Windows 10, 64 bit).

Longer term, we need to work with the Node folks to get a proper fix into Node itself and then make this patching logic conditional on older versions of Node.

@SteveSandersonMS
SteveSandersonMS force-pushed the windows-permissions-workaround branch from 112155d to fd5e3d7 Compare July 11, 2017 09:34
@SteveSandersonMS

Copy link
Copy Markdown
Member Author

Approved by @Eilon

@deva11

deva11 commented Feb 6, 2018

Copy link
Copy Markdown

downgrade npm version to 5.4.2 .worked for me!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants