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.

BUG: Serverless is no longer creating wrapper functions for serverless dashboard

See original GitHub issue

Serverless dashboard creates wrapper functions for the handler methods which contains metadata used for logging lambda invocations. When serverless-jetpack plugin is used these wrapper functions do not get created and the lambda functions end up failing because the files and functions no longer exist. These functions are prefixed with s_ like s_my_function.js

To enable dashboard on an existing serverless project add app and tenant:

  # serverless.yml
  app: my-app
  tenant: my-company

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
ryan-roemercommented, Nov 20, 2019

@cbumstead I have a hacky patch that’s still majorly WIP, but would love to hear if it works from an inputs and outputs perspective (as well as not having negative side effects.

Branch is at bug/dashboard.

Thanks!

0reactions
ryan-roemercommented, Jan 23, 2020

@khaledosman – I think this issue is properly closed. And there are lots of reasons why jetpack might not be bundling functions (e.g., other plugins set package.artifact, etc.). Can you open a new issue and with:

  • your full serverless.yml config file
  • A full SLS_DEBUG="*" serverless package terminal dump
  • Information as to whether or not disabling the dashboard has any effect on jetpack producing files.
Read more comments on GitHub >

github_iconTop Results From Across the Web

BUG: Serverless is no longer creating wrapper functions for ...
Serverless dashboard creates wrapper functions for the handler methods which contains metadata used for logging lambda invocations.
Read more >
Serverless Next.js Component - Serverless Framework: Plugins
This project is a better version of the serverless plugin which focuses on addressing core issues like next 9 support, better development experience,...
Read more >
Zero Configuration Monitoring and Alerts now available for ...
Serverless Framework Dashboard comes with nine alerts available out of the box, no configuration or setup needed. Your serverless functions will ...
Read more >
Variables - Serverless Framework
Variables. Variables allow users to dynamically replace config values in serverless.yml config. They are especially useful when providing secrets for your ...
Read more >
Serverless Dashboard
The Serverless Framework documentation for AWS Lambda, API Gateway, EventBridge, DynamoDB and much more.
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