-
-
Notifications
You must be signed in to change notification settings - Fork 26.9k
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
check if npm properly supports long cache-min and enable if so #375
Conversation
Thank you for your pull request and welcome to our community. We require contributors to sign our Contributor License Agreement, and we don't seem to have you on file. In order for us to review and merge your code, please sign up at https://code.facebook.com/cla - and if you have received this in error or have any questions, please drop us a line at [email protected]. Thanks! |
Thank you for signing our Contributor License Agreement. We can now accept your code for this (and any) Facebook open source project. Thanks! |
Criteria from #373:
|
I'm looking into the test failures. |
Hmm, the tests run fine locally with the same Node & npm versions as Travis. Possibly platform-specific? I'll try it on a Linux box tomorrow. |
Maybe you can’t use
|
This is [ 'install',
'--save-dev',
'--save-exact',
'--cache-min=Infinity',
'/Users/matthew.brennan/Projects/create-react-app/react-scripts-0.3.0-alpha.tgz' ] Either it's a crossplatform issue (which would be sad) or it's an npm race condition (which would be sadder). |
I like to test linux stuff on nitrous.io |
Tests run fine on my Linux vps. Could still be something strange about the Travis env i guess? Note the actual npm error is:
which does sound similar to some race conditions i've encountered in npm before |
Mmm can we just try |
Also what about
? |
@quarterto Would you be interested in finishing this up? I think it’ll make a lot of difference for many users. |
Hey, sorry, I'll take another look this weekend |
Assigning this to @vjeux for review when you’re ready. |
👍 |
2a95ed7
to
683d374
Compare
Quick update: I didn't have much time at the weekend to work on this, but I can at least make the tests fail consistently with the same error as Travis now (which is a separate error to the original one so I'm not sure that's an improvement 😕 ) |
Going to close since this is getting stale. |
Implements #373. @gaearon