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

Intermittent EPERM issues using npm link #1437

Closed
darrenscerri opened this issue Mar 23, 2017 · 6 comments
Closed

Intermittent EPERM issues using npm link #1437

darrenscerri opened this issue Mar 23, 2017 · 6 comments

Comments

@darrenscerri
Copy link

darrenscerri commented Mar 23, 2017

Am trying to resolve an issue with a build failing for https://github.com/facebookincubator/create-react-app for branch 0.9.x. I've been trying to fix it on my fork https://github.com/darrenscerri/create-react-app.

The build fails nearly every time at the same place, but occasionally passes for the same commit.

screen shot 2017-03-23 at 11 50 44

Failure:
screen shot 2017-03-23 at 11 52 11

Pass:
screen shot 2017-03-23 at 18 06 00

AppVeyor: https://ci.appveyor.com/project/darrenscerri/create-react-app

@FeodorFitsner
Copy link
Member

Will take a look.

@FeodorFitsner
Copy link
Member

Hi Darren,

I did some tests and got more or less consistent successful results on Visual Studio 2017 image: https://ci.appveyor.com/project/FeodorFitsner/create-react-app/history

I'm not sure about the reason it works "better" on Visual Studio 2017 image - maybe because it's based on Windows Server 2016 and built-in antivirus (Windows Defender) is explicitly disabled there. Maybe it's because of some underlying improvements in Hyper-V hypervisor/drivers (VS 2017 VMs run on Windows Server 2016 DC).

Anyway, you can run on Visual Studio 2017 for now to see if it works better.

@darrenscerri
Copy link
Author

Tests are passing now! Thanks for the help Feodor, much appreciated!

@darrenscerri
Copy link
Author

Unfortunately, the build from my repo succeeded but the pull request didn't. Noticed that the error is the same error in one of your build while you were trying VS2017. Do you have an idea of what that might be?

@FeodorFitsner
Copy link
Member

It might be something module-specific. In the most cases it's racing condition.
Try using retry - we have a special appveyor-retry script that can be used like appveyor-retry npm install.

@darrenscerri
Copy link
Author

Ok closing this issue then. Thanks a lot!

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

No branches or pull requests

2 participants