Description
New issue checklist
- I searched for existing GitHub issues
- I read pipeline troubleshooting guide
- I checked how to collect logs
Extension name
ArcGIS EB Dependency Validator
Extension version
any
Issue Description
I'm developing a custom Azure DevOps task using Node.js.
When I install the extension and try to run the task inside a pipeline, I get the following error:
A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'.
I expected the task to execute normally, as the task.json specifies handlers for Node10, Node16, and Node20_1, and the agent is running on a Windows x64 system.
The task's execution section looks like this:
"execution": {
"Node10": {
"target": "index.js",
"argumentFormat": ""
},
"Node16": {
"target": "index.js",
"argumentFormat": ""
},
"Node20_1": {
"target": "index.js",
"argumentFormat": ""
}
}
The buildandreleasetask/ folder in the .vsix package contains:
- index.js
- task.json
- package.json
And the .vsix root includes vss-extension.json.
The agent version is compatible (4.254.0), and the pipeline is configured correctly.
However, the error persists and the task is skipped without executing.
I also tried running the Microsoft-hosted windows-latest image and went through older issue-related posts.
Environment type (Please select at least one enviroment where you face this issue)
- Self-Hosted
- Microsoft Hosted
- VMSS Pool
- Container
Azure DevOps Server type
dev.azure.com (formerly visualstudio.com)
Azure DevOps Server Version (if applicable)
No response
Operation system
Windows 10 x64
Relevant log output
##[error]A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'.
Full task logs with system.debug enabled
2025-04-28T15:05:11.0058764Z ##[debug]Evaluating condition for step: 'arcgisebdependencyvalidator' 2025-04-28T15:05:11.0059669Z ##[debug]Evaluating: SucceededNode() 2025-04-28T15:05:11.0059921Z ##[debug]Evaluating SucceededNode: 2025-04-28T15:05:11.0060345Z ##[debug]=> True 2025-04-28T15:05:11.0060576Z ##[debug]Result: True 2025-04-28T15:05:11.0060838Z ##[section]Starting: arcgisebdependencyvalidator 2025-04-28T15:05:11.0066075Z ============================================================================== 2025-04-28T15:05:11.0066227Z Task : ArcGIS EB Dependency Validator 2025-04-28T15:05:11.0066314Z Description : Validates dependencies in a given package.json against a whitelist and blacklist stored in a Git repo. 2025-04-28T15:05:11.0066450Z Version : 1.0.1 2025-04-28T15:05:11.0066522Z Author : Aeroterra S.R.L -ilo 2025-04-28T15:05:11.0066606Z Help : 2025-04-28T15:05:11.0066657Z ============================================================================== 2025-04-28T15:05:11.0202174Z ##[error]A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'. Contact the task author for more details. 2025-04-28T15:05:11.0210136Z ##[debug]System.InvalidOperationException: A supported task execution handler was not found. The task does not carry an implementation that is compatible with your current operating system 'Windows(X64)'. Contact the task author for more details. at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsyncInternal() in D:\a\_work\1\s\src\Agent.Worker\TaskRunner.cs:line 138 at Microsoft.VisualStudio.Services.Agent.Worker.TaskRunner.RunAsync() in D:\a\_work\1\s\src\Agent.Worker\TaskRunner.cs:line 76 at Microsoft.VisualStudio.Services.Agent.Worker.StepsRunner.RunStepAsync(IStep step, CancellationToken jobCancellationToken) in D:\a\_work\1\s\src\Agent.Worker\StepsRunner.cs:line 264 2025-04-28T15:05:11.0211852Z ##[section]Finishing: arcgisebdependencyvalidator
Repro steps
trigger:
- main
- develop
pool: mypool
# pool:
# vmImage: windows-latest
stages:
- stage: Build
jobs:
- job: Build
steps:
- checkout: self
- task: NodeTool@0
inputs:
versionSource: 'spec'
versionSpec: '20.x'
- task: arcgis-eb-dependency-validator@1
inputs:
pkgJsonPath: '$(Build.Repository.LocalPath)/$(Build.Repository.Name)/package.json'
builderVersion: 'ArcGISExperienceBuilder_1.15'
portalVersion: 'ArcGISPortal_11.1'
azdoPat: '<token>'