agutoli / serverless-layers

Serverless.js plugin implementing AWS Lambda Layers, reducing lambda size, warm-up, and deployment time.
MIT License
229 stars 54 forks source link

Adding this package makes deploying fail #41

Closed talaikis closed 3 years ago

talaikis commented 4 years ago

Error: ... ○ "undefined" is not supported (yet).

Config:

custom:
  serverless-layers:
    dependenciesPath: requirements.txt
    compatibleRuntimes: ["python3.8"]

Env:

Operating System: win32 Node Version: 12.16.1 Framework Version: 1.71.3 Plugin Version: 3.6.12 SDK Version: 2.3.0 Components Version: Unavailable

tiagocpeixoto commented 3 years ago

Same here

sschwebler commented 3 years ago

This happens when you don't specify a runtime in the provider section.

provider:
  name: aws
  runtime: nodejs10.x
agutoli commented 3 years ago

@tiagocpeixoto @talaikis I just pushed a fix. Sorry about the delayed reply.

new version 2.3.1