Basic Azure Function (Javascript) created using v4 model throws No job functions found when running locally from vscode

Dushyant Godse 16 Reputation points
2024-08-26T23:41:59.4166667+00:00

Azure Functions Core Tools

Core Tools Version: 4.0.4915 Commit hash: N/A (64-bit)

Function Runtime Version: 4.14.0.19631

[2024-08-26T23:25:49.673Z] Building host: version spec: , startup suppressed: 'False', configuration suppressed: 'False', startup operation id: 'ec088f72-775c-422b-b73c-839cf88e4a28'

[2024-08-26T23:25:49.680Z] Reading host configuration file 'C:\development\NodeJSBotProject\GetDataByMember\host.json'

[2024-08-26T23:25:49.684Z] Host configuration file read:

[2024-08-26T23:25:49.685Z] {

[2024-08-26T23:25:49.686Z] "version": "2.0",

[2024-08-26T23:25:49.686Z] "logging": {

[2024-08-26T23:25:49.687Z] "applicationInsights": {

[2024-08-26T23:25:49.688Z] "samplingSettings": {

[2024-08-26T23:25:49.688Z] "isEnabled": true,

[2024-08-26T23:25:49.689Z] "excludedTypes": "Request"

[2024-08-26T23:25:49.689Z] }

[2024-08-26T23:25:49.690Z] }

[2024-08-26T23:25:49.690Z] },

[2024-08-26T23:25:49.691Z] "extensionBundle": {

[2024-08-26T23:25:49.692Z] "id": "Microsoft.Azure.Functions.ExtensionBundle",

[2024-08-26T23:25:49.692Z] "version": "[4.*, 5.0.0)"

[2024-08-26T23:25:49.693Z] }

[2024-08-26T23:25:49.693Z] }

[2024-08-26T23:25:49.740Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: java

[2024-08-26T23:25:49.758Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: powershell

[2024-08-26T23:25:49.770Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: python

[2024-08-26T23:25:49.774Z] Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle

[2024-08-26T23:25:49.775Z] Found a matching extension bundle at C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0

[2024-08-26T23:25:49.788Z] Loading functions metadata

[2024-08-26T23:25:49.791Z] Reading functions metadata

[2024-08-26T23:25:49.792Z] Reading functions metadata

[2024-08-26T23:25:49.796Z] 0 functions found

[2024-08-26T23:25:49.799Z] 0 functions found

[2024-08-26T23:25:49.803Z] 0 functions loaded

[2024-08-26T23:25:49.804Z] Looking for extension bundle Microsoft.Azure.Functions.ExtensionBundle at C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle

[2024-08-26T23:25:49.806Z] Found a matching extension bundle at C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0

[2024-08-26T23:25:49.806Z] Fetching information on versions of extension bundle Microsoft.Azure.Functions.ExtensionBundle available on https://functionscdn.azureedge.net/public/ExtensionBundles/Microsoft.Azure.Functions.ExtensionBundle/index.json

[2024-08-26T23:25:49.923Z] Skipping bundle download since it already exists at path C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0

[2024-08-26T23:25:49.932Z] Loading extension bundle from C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0\bin

[2024-08-26T23:25:49.937Z] Script Startup resetting load context with base path: 'C:\Users\dushy.azure-functions-core-tools\Functions\ExtensionBundles\Microsoft.Azure.Functions.ExtensionBundle\4.17.0\bin'.

[2024-08-26T23:25:49.959Z] Reading host configuration file 'C:\development\NodeJSBotProject\GetDataByMember\host.json'

[2024-08-26T23:25:49.962Z] Host configuration file read:

[2024-08-26T23:25:49.963Z] {

[2024-08-26T23:25:49.964Z] "version": "2.0",

[2024-08-26T23:25:49.966Z] "logging": {

[2024-08-26T23:25:49.967Z] "applicationInsights": {

[2024-08-26T23:25:49.967Z] "samplingSettings": {

[2024-08-26T23:25:49.968Z] "isEnabled": true,

[2024-08-26T23:25:49.969Z] "excludedTypes": "Request"

[2024-08-26T23:25:49.969Z] }

[2024-08-26T23:25:49.970Z] }

[2024-08-26T23:25:49.971Z] },

[2024-08-26T23:25:49.971Z] "extensionBundle": {

[2024-08-26T23:25:49.972Z] "id": "Microsoft.Azure.Functions.ExtensionBundle",

[2024-08-26T23:25:49.972Z] "version": "[4.*, 5.0.0)"

[2024-08-26T23:25:49.973Z] }

[2024-08-26T23:25:49.974Z] }

[2024-08-26T23:25:50.192Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: java

[2024-08-26T23:25:50.197Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: powershell

[2024-08-26T23:25:50.197Z] FUNCTIONS_WORKER_RUNTIME set to node. Skipping WorkerConfig for language: python

[2024-08-26T23:25:50.284Z] Initializing Warmup Extension.

[2024-08-26T23:25:50.337Z] Initializing Host. OperationId: 'ec088f72-775c-422b-b73c-839cf88e4a28'.

[2024-08-26T23:25:50.347Z] Host initialization: ConsecutiveErrors=0, StartupCount=1, OperationId=ec088f72-775c-422b-b73c-839cf88e4a28

[2024-08-26T23:25:50.372Z] LoggerFilterOptions

[2024-08-26T23:25:50.375Z] {

[2024-08-26T23:25:50.377Z] "MinLevel": "None",

[2024-08-26T23:25:50.378Z] "Rules": [

[2024-08-26T23:25:50.379Z] {

[2024-08-26T23:25:50.381Z] "ProviderName": null,

[2024-08-26T23:25:50.382Z] "CategoryName": null,

[2024-08-26T23:25:50.383Z] "LogLevel": null,

[2024-08-26T23:25:50.383Z] "Filter": "<AddFilter>b__0"

[2024-08-26T23:25:50.384Z] },

[2024-08-26T23:25:50.384Z] {

[2024-08-26T23:25:50.385Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",

[2024-08-26T23:25:50.386Z] "CategoryName": null,

[2024-08-26T23:25:50.387Z] "LogLevel": "None",

[2024-08-26T23:25:50.387Z] "Filter": null

[2024-08-26T23:25:50.388Z] },

[2024-08-26T23:25:50.389Z] {

[2024-08-26T23:25:50.390Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",

[2024-08-26T23:25:50.390Z] "CategoryName": null,

[2024-08-26T23:25:50.391Z] "LogLevel": null,

[2024-08-26T23:25:50.392Z] "Filter": "<AddFilter>b__0"

[2024-08-26T23:25:50.392Z] },

[2024-08-26T23:25:50.393Z] {

[2024-08-26T23:25:50.394Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",

[2024-08-26T23:25:50.395Z] "CategoryName": null,

[2024-08-26T23:25:50.395Z] "LogLevel": null,

[2024-08-26T23:25:50.396Z] "Filter": "<AddFilter>b__0"

[2024-08-26T23:25:50.397Z] }

[2024-08-26T23:25:50.398Z] ]

[2024-08-26T23:25:50.399Z] }

[2024-08-26T23:25:50.399Z] LoggerFilterOptions

[2024-08-26T23:25:50.400Z] {

[2024-08-26T23:25:50.401Z] "MinLevel": "None",

[2024-08-26T23:25:50.401Z] "Rules": [

[2024-08-26T23:25:50.402Z] {

[2024-08-26T23:25:50.403Z] "ProviderName": null,

[2024-08-26T23:25:50.403Z] "CategoryName": null,

[2024-08-26T23:25:50.404Z] "LogLevel": null,

[2024-08-26T23:25:50.404Z] "Filter": "<AddFilter>b__0"

[2024-08-26T23:25:50.405Z] },

[2024-08-26T23:25:50.406Z] {

[2024-08-26T23:25:50.407Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",

[2024-08-26T23:25:50.407Z] "CategoryName": null,

[2024-08-26T23:25:50.408Z] "LogLevel": "None",

[2024-08-26T23:25:50.409Z] "Filter": null

[2024-08-26T23:25:50.409Z] },

[2024-08-26T23:25:50.410Z] {

[2024-08-26T23:25:50.411Z] "ProviderName": "Microsoft.Azure.WebJobs.Script.WebHost.Diagnostics.SystemLoggerProvider",

[2024-08-26T23:25:50.411Z] "CategoryName": null,

[2024-08-26T23:25:50.412Z] "LogLevel": null,

[2024-08-26T23:25:50.413Z] "Filter": "<AddFilter>b__0"

[2024-08-26T23:25:50.414Z] },

[2024-08-26T23:25:50.414Z] {

[2024-08-26T23:25:50.415Z] "ProviderName": "Azure.Functions.Cli.Diagnostics.ColoredConsoleLoggerProvider",

[2024-08-26T23:25:50.416Z] "CategoryName": null,

[2024-08-26T23:25:50.416Z] "LogLevel": null,

[2024-08-26T23:25:50.417Z] "Filter": "<AddFilter>b__0"

[2024-08-26T23:25:50.417Z] }

[2024-08-26T23:25:50.418Z] ]

[2024-08-26T23:25:50.419Z] }

[2024-08-26T23:25:50.419Z] ConcurrencyOptions

[2024-08-26T23:25:50.420Z] {

[2024-08-26T23:25:50.421Z] "DynamicConcurrencyEnabled": false,

[2024-08-26T23:25:50.421Z] "MaximumFunctionConcurrency": 500,

[2024-08-26T23:25:50.422Z] "CPUThreshold": 0.8,

[2024-08-26T23:25:50.422Z] "SnapshotPersistenceEnabled": true

[2024-08-26T23:25:50.423Z] }

[2024-08-26T23:25:50.424Z] FunctionResultAggregatorOptions

[2024-08-26T23:25:50.424Z] {

[2024-08-26T23:25:50.425Z] "BatchSize": 1000,

[2024-08-26T23:25:50.426Z] "FlushTimeout": "00:00:30",

[2024-08-26T23:25:50.427Z] "IsEnabled": true

[2024-08-26T23:25:50.427Z] }

[2024-08-26T23:25:50.428Z] SingletonOptions

[2024-08-26T23:25:50.429Z] {

[2024-08-26T23:25:50.430Z] "LockPeriod": "00:00:15",

[2024-08-26T23:25:50.430Z] "ListenerLockPeriod": "00:00:15",

[2024-08-26T23:25:50.431Z] "LockAcquisitionTimeout": "10675199.02:48:05.4775807",

[2024-08-26T23:25:50.432Z] "LockAcquisitionPollingInterval": "00:00:05",

[2024-08-26T23:25:50.432Z] "ListenerLockRecoveryPollingInterval": "00:01:00"

[2024-08-26T23:25:50.433Z] }

[2024-08-26T23:25:50.434Z] Starting JobHost

[2024-08-26T23:25:50.438Z] Starting Host (HostId=laptophq93ji16-1212978244, InstanceId=d1e43003-f098-4ce6-8b9d-a26e27bac8f0, Version=4.14.0.19631, ProcessId=44148, AppDomainId=1, InDebugMode=False, InDiagnosticMode=False, FunctionsExtensionVersion=(null))

[2024-08-26T23:25:50.453Z] Loading functions metadata

[2024-08-26T23:25:50.453Z] Reading functions metadata

[2024-08-26T23:25:50.455Z] Reading functions metadata

[2024-08-26T23:25:50.456Z] 0 functions found

[2024-08-26T23:25:50.457Z] 0 functions found

[2024-08-26T23:25:50.463Z] Reading functions metadata

[2024-08-26T23:25:50.475Z] 1 functions found

[2024-08-26T23:25:50.476Z] 0 functions loaded

[2024-08-26T23:25:50.491Z] Generating 0 job function(s)

[2024-08-26T23:25:50.506Z] 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.).

[2024-08-26T23:25:50.518Z] HttpOptions

[2024-08-26T23:25:50.521Z] {

[2024-08-26T23:25:50.521Z] Initializing function HTTP routes

[2024-08-26T23:25:50.524Z] "DynamicThrottlesEnabled": false,

[2024-08-26T23:25:50.526Z] "EnableChunkedRequestBinding": false,

[2024-08-26T23:25:50.525Z] No HTTP routes mapped

[2024-08-26T23:25:50.527Z] "MaxConcurrentRequests": -1,

[2024-08-26T23:25:50.528Z]

[2024-08-26T23:25:50.529Z] "MaxOutstandingRequests": -1,

[2024-08-26T23:25:50.530Z] "RoutePrefix": "api"

[2024-08-26T23:25:50.531Z] }

[2024-08-26T23:25:50.538Z] Host initialized (90ms)

[2024-08-26T23:25:50.541Z] Host started (101ms)

[2024-08-26T23:25:50.541Z] Job host started

[2024-08-26T23:25:55.390Z] Host lock lease acquired by instance ID '0000000000000000000000000BBC01A3'.

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,909 questions
0 comments No comments
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.