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.

Function "undefined" doesn't exist in this Service

See original GitHub issue

With latest serverless version (2.32.1), running sls wsgi flask --command "task migrate up" results in following error:

Serverless Error ----------------------------------------
 
  Function "undefined" doesn't exist in this Service

I’ll hope it will be fixed soon. We currently need to pin serverless version to avoid this issue.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:4
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

2reactions
DataHighlandscommented, Apr 16, 2021

I had the same issue, it worked after I downgrade serverless package to version (2.31.0) using below command:

npm install serverless@2.31.0 -g

1reaction
logandkcommented, May 12, 2021

Closed in favor of #156. @mmoallemi99 is preparing a PR

Read more comments on GitHub >

github_iconTop Results From Across the Web

serverless: function doesn't exist in this service
Since i added the get function, i decided i needed to add the create and get parts after stories, but no matter how...
Read more >
Serverless Error - Function not found... · Issue #3050
I'm getting a mix of "function not found" and "function already exists" which I'm guessing is just some bad cleanup or delayed function...
Read more >
Function does not exist when trying to invoke but deploy is ...
Deployment runs successfully, I see new function in the GCP portal and can execute it from there. But trying to execute it via...
Read more >
Uncaught TypeError: 'undefined' is not a function
Uncaught TypeError : 'undefined' is not a function. This is a common JavaScript error that happens when you try to call a function...
Read more >
Function - AWS Serverless Application Model
Creates an AWS Lambda function, an AWS Identity and Access Management (IAM) execution role, and event source mappings that trigger the 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