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
merged 2 commits into from
Jul 11, 2017

Conversation

SteveSandersonMS
Copy link
Member

@SteveSandersonMS SteveSandersonMS commented Jul 11, 2017

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
Member Author

Approved by @Eilon

@deva11
Copy link

deva11 commented Feb 6, 2018

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