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

ghost picture ghost  路  4Comments

FranzSkuffka picture FranzSkuffka  路  3Comments

Ali-Dalal picture Ali-Dalal  路  4Comments

mattmeye picture mattmeye  路  4Comments

Looveh picture Looveh  路  4Comments