-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Error after updating to 6.1.0 #3866
Comments
Before updating it worked well. |
I just ran into this too. If you just run
It seems the package was published with CRLF line endings, which will cause issues on non-windows platforms:
|
yeah, shebang in |
yes, I have seen it. I'm working on it. Any suggestions? |
I agree with @jasonk and @AviVahl that the |
@juergba thx for the quick response. |
@kevinoid I personally use latest |
@AviVahl Does |
Came here to suggest the gitattributes approach as well. It'll force LF checkouts on all platforms; I add one religiously to all new projects.
EDIT: also add an editorconfig forcing LF line endings if you haven't already. |
@kevinoid I guess they leave the file untouched. AFAIK, on Linux, |
@cspotcode can we chat please on gitter? |
build breaks on node 6 due to mochajs/mocha#3866 using 6.0.2 until that is fixed, or node 6 is de-supported whichever comes first
Since mocha is already using prettier, the easy fix would be to change the prettier config in
|
mochajs/mocha#3866 broke tests on Node v6
FYI this makes Travis tests fail when using Node 6. |
CircleCI is broken as well using Node 10. |
@AlexZeitler on Unix as well? |
@juergba Not on my local machine (Ubuntu 18.04) but in CircleCI: |
@juergba thanks for addressing this. I'm surprised that the smoke test in CI didn't catch this issue. If you want help setting up CI on other platforms (mac on travis and windows on appveyor), I'd be happy to help you do that (the PR is not that much work, it's mostly creating the appveyor account, which has to be done by a committer). |
@mceachen |
The problem was the `npm publish` command run on Windows produced a tarball
that could not run on Linux. I don't think the smoke test deals with that.
…On Sun, Apr 7, 2019, 6:24 PM Matthew McEachen ***@***.***> wrote:
@juergba <https://github.com/juergba> thanks for addressing this.
I'm surprised that the smoke test in CI
<https://travis-ci.org/mochajs/mocha/jobs/516888314> didn't catch this
issue.
If you want help setting up CI on other platforms (mac on travis and
windows on appveyor), I'd be happy to help you do that (the PR is not that
much work, it's mostly creating the appveyor account, which has to be done
by a committer).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#3866 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAW-uDEzRttsy4OWTDWZN_oRU1KzEBoKks5venAggaJpZM4cg2Uz>
.
|
@juergba Upgrading to |
@AlexZeitler thank you for your confirmation! |
Ah, that's great. I didn't see a badge for the build in the header of the README. |
@juergba How did you fix this? |
n/m, |
full log: https://travis-ci.com/njzjz/chemicaltools-js/jobs/190964352
But it worked fine before.
Sent from PPHub For GitHub
The text was updated successfully, but these errors were encountered: