question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

this.provider.getDeploymentPrefix is not a function

See original GitHub issue

I’ve followed the instructions. The relevant parts of my serverless.yml are:

provider:
  deploymentBucket: #required!
    name: "layers_deployment_bucket"

plugins:
  - serverless-layers

package:
  individually: false
  exclude:
    - node_modules/**
  excludeDevDependencies: true

But when I try to deploy I get:

Type Error ---------------------------------------------

this.provider.getDeploymentPrefix is not a function

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:7 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
agutolicommented, Mar 7, 2019

It’s possible to do a call and I try to debug it with you?

Let’s try solve it.

If you agree, this is my contact: bruno.agutoli@gmail.com

0reactions
keithcoughtreycommented, Mar 6, 2019

Yes, I am stiff facing this issue and I have named my provider ‘aws’

On Thu, 7 Mar 2019 at 04:59, Bruno Agutoli notifications@github.com wrote:

hi, @keithcoughtrey https://github.com/keithcoughtrey . Let me know if you still are facing this problem. It not, I gonna close this issue.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/agutoli/serverless-layers/issues/3#issuecomment-470163672, or mute the thread https://github.com/notifications/unsubscribe-auth/AD66ebtsLQmf2Oz-ztwhUJnX7xJIDRRBks5vT-XwgaJpZM4bbhWP .

Read more comments on GitHub >

github_iconTop Results From Across the Web

'name.replace is not a function' while serverless deploy #4194
When I run serverless deploy in a n AWS Lambda project that has python library (Pillow - for image processing) dependencies, I get...
Read more >
How to get rid of serverless "Warning: Invalid configuration ...
According to serverless docs, deploymentBucket should be a property under provider not a root property. Share.
Read more >
Deployment name prefix not defined in Terraform - Databricks
You are using Terraform to deploy a workspace in AWS and you get a Deployment name cannot be used until a deployment name...
Read more >
Troubleshooting Cloud Functions - Google Cloud
Function deployment fails due to Cloud Build not supporting VPC-SC. Cloud Functions uses Cloud Build to build your source code into a runnable...
Read more >
Deploying to AWS - Serverless Framework
Deploy Function. This deployment method does not touch your AWS CloudFormation Stack. Instead, it simply overwrites the zip file of the current function...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found