Azure/azure-functions-nodejs-worker

No job functions found. Try making your job classes and methods public.

Closed this issue · 4 comments

a29g commented

Env details:
Linux : Ubuntu 22.04.2 LTS
Node: v18.15.0
Azure Functions: v1.10.4
VS code Version: 1.76.2

Hi,

I used VS code to create HTTP trigger function v4 with javascript. I am able to create function locally but cannot see function under workspace-> Local project -> Functions. And Whenever i try to run the function i get below error.

[2023-03-27T17:33:02.444Z] No job functions found. Try making your job classes and methods public. If you're using binding extensions (e.g. Azure Storage, ServiceBus, Timers, etc.) make sure you've called the registration method for the extension(s) in your startup code (e.g. builder.AddAzureStorage(), builder.AddServiceBus(), builder.AddTimers(), etc.).

Screenshot from 2023-03-27 23-10-03

But when i try same for v3 its working fine as i am able to create and run the HTTP trigger function without any issue.

Screenshot from 2023-03-27 23-10-29

Thanks for informing .will check and update you asap.

any update on this?

@bhagyshricompany Can you reopen this? I'm having the same exact issue with the exception of OS being MacOS 13.3. I've yet to be able to get a v4 function running and all I'm doing is using the boilerplate generated from VSCode.

ejizba commented

Hi, we're not going to re-open this issue because this is a very generic error that can happen for a variety of reasons. Please file a new issue with the details specific to your situation. We also have some troubleshooting steps listed here: https://learn.microsoft.com/en-us/azure/azure-functions/functions-node-troubleshoot?pivots=nodejs-model-v4