Closed
Description
Our Node.js support is currently >=8
.
This plugin is using fs.promises
, which was introduced in Node 10. Using require('util').promisify(fs.appendFile)
instead would make it work for Node 8 users.
Also, do you know whether next-on-netlify
works on Node 8?
It'd be nice to add some engines.node
like this. Our build system detects this property and prints a warning message when a site is using a Node.js version incompatible with a plugin.
Finally, our CI tests should run on Node 8 to ensure support.