Debugging logic app standard workflow + local func with inline JavaScript action, fails

I’m developing a logic app standard solution on VS Code for Windows v.193.0. The version of the logic apps standard extension is 4.57.7. I have version 22.8.0 of Node installed.

It has been working great and I’ve been able to debug by clicking the “Run and Debug” icon from the extensions toolbar, then selecting “Attach to logic app (LogicApp)”.

I’ve just added an action to a workflow for “JavaScriptCode”. Now when I click to debug I get the following error:

Worker failed to load function: ‘WorkflowNodeWorker’ with functionId:
‘f199ee64-c633-462d-90b7-e2495038515a’. Result: Failure Exception:
System.InvalidOperationException: Invalid entry point configuration.
The function entry point must be defined in the format
. at
Microsoft.Azure.Functions.Worker.Invocation.DefaultMethodInfoLocator.GetMethod(String
pathToAssembly, String entryPoint) in
D:a_work1ssrcDotNetWorker.CoreInvocationDefaultMethodInfoLocator.cs:line
19 at
Microsoft.Azure.Functions.Worker.Definition.GrpcFunctionDefinition..ctor(FunctionLoadRequest
loadRequest, IMethodInfoLocator methodInfoLocator) in
D:a_work1ssrcDotNetWorker.GrpcDefinitionGrpcFunctionDefinition.cs:line
56 at
Microsoft.Azure.Functions.Worker.GrpcWorker.FunctionLoadRequestHandler(FunctionLoadRequest
request, IFunctionsApplication application, IMethodInfoLocator
methodInfoLocator) in
D:a_work1ssrcDotNetWorker.GrpcGrpcWorker.cs:line 269 Stack:
at
Microsoft.Azure.Functions.Worker.Invocation.DefaultMethodInfoLocator.GetMethod(String
pathToAssembly, String entryPoint) in
D:a_work1ssrcDotNetWorker.CoreInvocationDefaultMethodInfoLocator.cs:line
19 at
Microsoft.Azure.Functions.Worker.Definition.GrpcFunctionDefinition..ctor(FunctionLoadRequest
loadRequest, IMethodInfoLocator methodInfoLocator) in
D:a_work1ssrcDotNetWorker.GrpcDefinitionGrpcFunctionDefinition.cs:line
56 at
Microsoft.Azure.Functions.Worker.GrpcWorker.FunctionLoadRequestHandler(FunctionLoadRequest
request, IFunctionsApplication application, IMethodInfoLocator
methodInfoLocator) in
D:a_work1ssrcDotNetWorker.GrpcGrpcWorker.cs:line 269. Worker
failed to load package.json: file does not exist Worker process
started and initialized. Worker was unable to load function
ReadQueueSessionMessage: ‘Invalid or unexpected token’ Worker failed
to load function: ‘ReadQueueSessionMessage’ with functionId:
‘36906878-137e-43f2-b9b9-983ae9eb43c2’. Result: Failure Exception:
Worker was unable to load function ReadQueueSessionMessage: ‘Invalid
or unexpected token’ Stack:
C:GitReposAcmeIntegrationservicesprocess-managersrcLogicApplibcustomnet472SvcBusQReader.AzFunc.dll:1
MZ? SyntaxError: Invalid or unexpected token
at wrapSafe (node:internal/modules/cjs/loader:1469:18)
at Module._compile (node:internal/modules/cjs/loader:1491:20)
at Module._extensions..js (node:internal/modules/cjs/loader:1691:10)
at Module.load (node:internal/modules/cjs/loader:1317:32)
at Module._load (node:internal/modules/cjs/loader:1127:12)
at TracingChannel.traceSync (node:diagnostics_channel:315:14)
at wrapModuleLoad (node:internal/modules/cjs/loader:217:24)
at Module.require (node:internal/modules/cjs/loader:1339:12)
at Object.apply (C:Program FilesMicrosoftAzure Functions Core Toolsworkersnodedistsrcworker-bundle.js:2:51713)
at require (node:internal/modules/helpers:135:16).

Anyone know a fix for this?

I am able to run it by using below approach:

Versions used:

node version: v20.12.2
dotnet version: 9.0.100-preview.7.24407.12

Using Azure Logic Apps (Standard) v4.57.7.

In Extension settings, i enabled all.

Below are steps to run the Logic app Standard with JavaScript inline and I followed Document:

I have signed up for ngrok and then used the command

ngrok config add-authtoken xxxx

then ngrok http 7071
Then i have created a logic app with trigger when a http request is received and then inline action with compose showing the output. After Saving then taken url from overview:

Then, I run it from postman. It called the url and my workflow got triggered :

Recognized by Microsoft Azure Collective

2

Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa Dịch vụ tổ chức sự kiện 5 sao Thông tin về chúng tôi Dịch vụ sinh nhật bé trai Dịch vụ sinh nhật bé gái Sự kiện trọn gói Các tiết mục giải trí Dịch vụ bổ trợ Tiệc cưới sang trọng Dịch vụ khai trương Tư vấn tổ chức sự kiện Hình ảnh sự kiện Cập nhật tin tức Liên hệ ngay Thuê chú hề chuyên nghiệp Tiệc tất niên cho công ty Trang trí tiệc cuối năm Tiệc tất niên độc đáo Sinh nhật bé Hải Đăng Sinh nhật đáng yêu bé Khánh Vân Sinh nhật sang trọng Bích Ngân Tiệc sinh nhật bé Thanh Trang Dịch vụ ông già Noel Xiếc thú vui nhộn Biểu diễn xiếc quay đĩa Dịch vụ tổ chức tiệc uy tín Khám phá dịch vụ của chúng tôi Tiệc sinh nhật cho bé trai Trang trí tiệc cho bé gái Gói sự kiện chuyên nghiệp Chương trình giải trí hấp dẫn Dịch vụ hỗ trợ sự kiện Trang trí tiệc cưới đẹp Khởi đầu thành công với khai trương Chuyên gia tư vấn sự kiện Xem ảnh các sự kiện đẹp Tin mới về sự kiện Kết nối với đội ngũ chuyên gia Chú hề vui nhộn cho tiệc sinh nhật Ý tưởng tiệc cuối năm Tất niên độc đáo Trang trí tiệc hiện đại Tổ chức sinh nhật cho Hải Đăng Sinh nhật độc quyền Khánh Vân Phong cách tiệc Bích Ngân Trang trí tiệc bé Thanh Trang Thuê dịch vụ ông già Noel chuyên nghiệp Xem xiếc khỉ đặc sắc Xiếc quay đĩa thú vị
Trang chủ Giới thiệu Sinh nhật bé trai Sinh nhật bé gái Tổ chức sự kiện Biểu diễn giải trí Dịch vụ khác Trang trí tiệc cưới Tổ chức khai trương Tư vấn dịch vụ Thư viện ảnh Tin tức - sự kiện Liên hệ Chú hề sinh nhật Trang trí YEAR END PARTY công ty Trang trí tất niên cuối năm Trang trí tất niên xu hướng mới nhất Trang trí sinh nhật bé trai Hải Đăng Trang trí sinh nhật bé Khánh Vân Trang trí sinh nhật Bích Ngân Trang trí sinh nhật bé Thanh Trang Thuê ông già Noel phát quà Biểu diễn xiếc khỉ Xiếc quay đĩa
Thiết kế website Thiết kế website Thiết kế website Cách kháng tài khoản quảng cáo Mua bán Fanpage Facebook Dịch vụ SEO Tổ chức sinh nhật