Serverless-offline: Support new runtime nodejs6.10 of the last serverless and lambda versions

Created on 5 Apr 2017  路  2Comments  路  Source: dherault/serverless-offline

Please can you update the plugin to support the new runtime nodejs6.10, I just made the change on the index.js

if (['nodejs', 'nodejs4.3', 'babel', 'nodejs6.10'].indexOf(serviceRuntime) === -1) {
      this.printBlankLine();
      this.serverlessLog(`Warning: found unsupported runtime '${serviceRuntime}'`);
      return;
    }

Most helpful comment

npm update serverless-offline should fix it.

All 2 comments

This was added in #221. Also a duplicate PR was closed for the same change so you need to check your version.

npm update serverless-offline should fix it.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

ozbillwang picture ozbillwang  路  4Comments

stunningpixels picture stunningpixels  路  3Comments

yareyaredesuyo picture yareyaredesuyo  路  4Comments

Looveh picture Looveh  路  4Comments

davidroman0O picture davidroman0O  路  4Comments