Skip to content

Error when trying to install both node and python functions simultaneously #436

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
cammer-alchemy opened this issue Dec 8, 2019 · 1 comment

Comments

@cammer-alchemy
Copy link

cammer-alchemy commented Dec 8, 2019

This could be user error, but here goes: I'm trying to install the following:

plugins:
  - serverless-webpack
  - serverless-stack-output
  - serverless-python-requirements

provider:
  name: aws
  runtime: nodejs12.x
  timeout: 20

functions:
  get-training-data:
    handler: src/typescript/aws/lambda/getTrainingData.handler

  train-model:
    runtime: python3.8
    handler: src/python/aws/lambda/train_model.handler

And I get this error:

Error: nodejs12.x not found! Try the pythonBin option.

Has anyone successfully used serverless-python-requirements with a mixed language project?

@cammer-alchemy
Copy link
Author

Okay, I'm just not gonna do this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant