Missing wrapper function
See original GitHub issueHello,
When I do sls deploy
, the bundle is correctly built however the handler is set to s_function.handler
for a function located in let’s say src/function.js
. It works if I manually rename it to src/function.handler
in the AWS console but it gets overwritten after every deploy.
I can reproduce that with any of the esbuild starter I have found. Even with https://github.com/floydspace/serverless-esbuild/tree/master/examples/minimal
Note that when doing sls package
or sls deploy
, I can see the file s_function.handler
being created then deleted on my root dir.
Issue Analytics
- State:
- Created 2 years ago
- Reactions:3
- Comments:16
Top Results From Across the Web
My wrapper function is missing a variable? - Stack Overflow
It turned out you needed to write a body for the OnBoxOverlap function .
Read more >Wrapper function of missing value completion - R
It is a wrapper function for missing value completion. Usage. MV.missingValueCompletion(decision.table, type.method = "deletionCases"). Arguments ...
Read more >Excel wrapper missing members/functions - MSDN - Microsoft
I find that some of the commands (members) for the Excel 2003 wrapper are missing, specifically CWorkbooks::Open().
Read more >Dialyzer erroneously warns about missing return with wrapper ...
When running dialyzer with -Wmissing_return in a module with a wrapper function that receives a function that calls and returns that function's value,...
Read more >CDC Setup wrapper functions - missing column
The wrapper function creates scripts for other functions that will return change data based on start/end times. But they don't build because ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
That is likely related to https://github.com/floydspace/serverless-esbuild/pull/249. Working on it. Time is scarce for me though.
Quick update, for some reason setting
package
individually: true
the final zip is missing some node_module dependencies likepg
, package.json, package-lock etc