-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
travis build error due to nunjucks #798
Comments
Thanks @weyusi .
That's fine too. |
you mean stop using |
As long as there is an issue with node 11. Then we'll see. Let's not make
plans for 2030 :)
Le mar. 30 oct. 2018 à 01:51, weyusi <notifications@github.com> a écrit :
… you mean stop using - "node" temporarily (to fix this) or permanently?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#798 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAJY_lLW5CNv_c8LvXf8ZlPud3RZjskhks5up6KDgaJpZM4X-9JZ>
.
|
this issue aside, I thought having since travis is only for testing, shouldn't 6 and 8 be tested as well? I wanna clarify this if we're going to update travis config. |
Permanently. Because, I think same problem will occur when next Node.js release.
Maybe no. (I don't know why we set "-node")
I agree your opinion. My english is not good. It's sorry if my answer is not has a point 😓 |
Regarding the last part: Now that we agree, do you want to use node 10 or lts (it is currently the same)? |
@yoshinorin @tomap thanks for clarifying! I think the travis should use similar node version as netlify, there are two ways:
For consistency, I prefer the first approach and using lts. |
netlify is using 8 Shall we use lts in travis and netlify? |
You means lts is v10 or v8 ? which ? 🤔 |
@yoshinorin @weyusi I think it is due to the nunjucks@3.1.3 not support the latest node. The hotfix has committed ef771de Long term solution would be to wait the nunjucks to update, then change back the node version to be latest. |
@yoshinorin lts should be 10 by now. both travis and netlify use nvm, so even if lts is still 8, both of them would use similar node version. @NoahDragon is netlify configured to use latest node? shouldn't travis and netlify use similar node version? |
@weyusi @NoahDragon Travis CI supports |
@SukkaW Thanks for the clarification. Edit: I now prefer specifying version (e.g. |
this is to discuss various potential workarounds for travis build error in #795 #796 #797 and newer PRs. This is due to incorrect syntax used by nunjucks and has been reported upstream mozilla/nunjucks#1160.
The workaround will be temporary and can be reverted once the fix mozilla/nunjucks#1161 is released.
@tomap suggests to add
--ignore-engines
flag toyarn install
.@yoshinorin suggests specifying "lts" node version in travis.
the latest lts is going to be 10.x, starting from 2018-10-30 (nodejs/Release).
I personally suggest specifying "10" as "lts" could be confused with node 8.
The text was updated successfully, but these errors were encountered: