serverless-esbuild icon indicating copy to clipboard operation
serverless-esbuild copied to clipboard

Jump in version of Node.js required to run

Open dave-continuum-media opened this issue 2 years ago • 1 comments

Describe the bug

This plugin requires Node 16 after 1.32.9, but it wasn't a major or even minor version number increase. Seems risky to change the runtime environment with much of an indication in the change logs or release notes. Also prevents deploying to Node14 runtimes where you want to build your dependencies using the same version of Node.

To Reproduce

  1. Using Node 14.
  2. Run sls package.

Expected behavior

  • It to compile.

Versions (please complete the following information):

  • OS: Mac
  • Serverless Framework Version: 3.23.0
  • Plugin Version: v1.32.9

dave-continuum-media avatar Oct 20 '22 08:10 dave-continuum-media

We got bitten by this too.

Node 14.x is kind of old now but we'd been holding back due to encountering other issues with serverless-offline. This kind of forces the issue but a heads-up would have been cool.

asquithea avatar Nov 28 '22 15:11 asquithea