node-graphql-server
node-graphql-server copied to clipboard
Improve node compatibility
The minimum required node version currently is 8+.
If you try to get started with a boilerplate of an older version, you get this:
Here are potential improvements compared to the current situation:
- add a friendly note when the above error occurs, that includes actionable steps to move on (for example link to instructions how to upgrade node version)
- implement compatibility with older node versions
@marktani I would like to take this up. Saw the index.js file inside basic/.install and it seems the problem is because we are using async await which is not supported for lower node versions.
If I have to fix it with promises, should I go ahead? Also how do I test if my solution works or not?