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
Engine node incompatible >=8.12.0 #741
Comments
it's more a "should be", than a hard "must be".
|
Right now, it's treated as a must be |
why? |
this is really I can't really tell if it was an arbitrary decision of the this plugin took a dependency on hapi v18, which itself states a min requirement of v8.12 - and that's pretty much it. we didn't question the |
@Vadorequest it might be arbitrary, not sure. travis is testing the latest 'minor' version: https://github.com/hapijs/hapi/blob/master/.travis.yml Maybe at the time of writing, |
@dnalborczyk I asked the question on hapijs/hapi#3961 and it seems there is no real reason on the Hapi side for forcing v8.12.0, I therefore suggest you don't enforce a specific node version if there are no impact. I'd suggest using node 8 as minimal compatible version, instead of node 8.12, to avoid such useless warning and worries for developers. |
thanks for following up on the issue @Vadorequest ! As I assumed, they are essentially testing and supporting the In that case I don't see a big issue for
that doesn't work because of certain language features we're already using, e.g. object rest/spread, which requires node.js v8.3+ I think it's a good compromise with AWS supporting v8.10 as well. That issue will also solve itself with the v10.x release branch, with AWS also supporting the latest minor/patch version, rather than some frozen version. |
In that case, I believe the best choice would be to support v8.10+ instead of v8.12+, so that people who are running aws (most common use case for the serverless framework) don't encounter this issue. GCP uses v8.15.0 (see https://cloud.google.com/functions/docs/concepts/nodejs-8-runtime) so allowing v8.10 seems to cover it as well, which is a good thing for the few users using GCP. |
yeah, that's what I meant. It's fixed in 4640522 |
I wonder why the node engine must be higher than 8.12, it's really not a good thing, especially since aws only supports 8.10 natively. What's the reason for this choice?
The text was updated successfully, but these errors were encountered: