-
Notifications
You must be signed in to change notification settings - Fork 513
Spurious issue running tests on travis. #883
Comments
This is probably npm issue, like - npm/npm#6309 We don't do anything special for esprima here. |
Turns out this is absolutely a Unless one of them renames their binary, |
We discussed this issue in length in here - #787 Do you still see the error? |
Yeah, given discussion in here. i'm reopening this. /cc @Krinkle, @mikesherov |
Not as often as I used to, but yes, still occasionally. |
Whether or not there is a bug in npm, the immediate cause is that node-jscs depends on esprima and esprima-harmony-jscs. They conflict because both packages export a From what I can see, jscs doesn't use these bins (if it did, it would be uncertain which one it gets). Can we remove it from esprima-harmony-jscs? Or give the bin a different name? |
@Krinkle 👍 for that. Another solution is to have a proxy npm-package with esprima-harmony-jscs. |
I don't see a reason why we still need a |
@markelog Yeah, I've tried Esprima 2.x with JSCS and it works well, but seems like we should inc major version. |
Why? |
@markelog Because we can't guarantee work of plugins. |
Why? |
Our form of esprima-harmony supports more of es6, namely generators, for of, and a few others. Once ESPrima has full es6 support, we'll ditch our fork. |
@mikesherov okay, so it seems after 2.3 we can ditch it, although we can update esprima to 2.2? |
Ref jscs-dev/node-jscs#883 Ref jscs-dev/node-jscs#787 Ref npm/npm/#6309
That's a bit tricky - is it something that couldn't be released in a patch version? (I'm waiting for one for another fix anyways) |
Minor will be released very soon (hoping for monday) just wanted to be sure we all okay here, so we wouldn't need to release 1.13.1 or something. It most certainly should be fixed, but i can't test it, can't reproduce it, so it's a shot in the dark. |
@markelog It's hard to be sure since it is a race condition. Initial testing shows the problem is solved. I can't be sure until it is released because we have many different projects each with their own |
Just to close the loop; this hasn't happened for me in months, so the problem is solved for me. Thanks! |
A significant percentage of the time I run builds on
travis-ci
,npm install
fails when trying to installjscs
- specificallyesprima
.See https://travis-ci.org/paulmillr/es6-shim/jobs/45910645 for an example.
Do you have any idea what's causing this? When this happens, I can occasionally just rerun the build and it passes, but sometimes the build never passes.
The text was updated successfully, but these errors were encountered: