Summary
Both validate and export commands fail with the same crash
(Cannot read properties of undefined (reading 'named')) even on a
minimal repo containing a single trivial pipeline with no dependencies
(no datasets, linked services, triggers, or credentials). Reproducible
consistently across multiple runs.
Environment
@microsoft/azure-data-factory-utilities: ^1.0.0
- Node.js: v20.20.2
- Running via GitLab CI/CD (
node:20 Docker image, GitLab SaaS Linux runners)
- Bundle downloaded live from
https://adf.azure.com/assets/cmd-api/main.js
Repro steps
-
Create a repo with the following structure at root:
factory/adf-rehydrade-demo-dev.json
pipeline/sample-pipe-line.json
package.json
-
factory/adf-rehydrade-demo-dev.json:
{
"name": "adf-rehydrade-demo-dev",
"properties": {},
"location": "centralindia"
}
pipeline/sample-pipe-line.json:
{
"name": "sample-pipe-line",
"type": "Microsoft.DataFactory/factories/pipelines",
"properties": {
"description": "sampleWait desc",
"activities": [
{
"name": "sampleWait",
"type": "Wait",
"dependsOn": [],
"userProperties": [],
"typeProperties": {
"waitTimeInSeconds": 2
}
}
],
"annotations": []
}
}
- Run:
node node_modules/@microsoft/azure-data-factory-utilities/lib/index.js validate "<repoRoot>" adf-rehydrade-demo-dev
Actual result Error
CmdApiApp: Starting to validate all resources
Validator: Start validation for: pipeline - sample-pipe-line
ERROR === CmdApiApp: Failed to run resource validation. Error: {"stack":"TypeError: Cannot read properties of undefined (reading 'named')\n at _o. (/.../downloads/main.js:2:15910060)\n at Generator.next ()\n at r (/.../downloads/main.js:2:14326978)","message":"Cannot read properties of undefined (reading 'named')"}
=====ERROR=====
Error: Command failed: node .../downloads/main.js validate adf-rehydrade-demo-dev
Execution failed with exit code: 255
Actual result
Summary
Both
validateandexportcommands fail with the same crash(
Cannot read properties of undefined (reading 'named')) even on aminimal repo containing a single trivial pipeline with no dependencies
(no datasets, linked services, triggers, or credentials). Reproducible
consistently across multiple runs.
Environment
@microsoft/azure-data-factory-utilities:^1.0.0node:20Docker image, GitLab SaaS Linux runners)https://adf.azure.com/assets/cmd-api/main.jsRepro steps
Create a repo with the following structure at root:
factory/adf-rehydrade-demo-dev.json
pipeline/sample-pipe-line.json
package.json
factory/adf-rehydrade-demo-dev.json:{ "name": "adf-rehydrade-demo-dev", "properties": {}, "location": "centralindia" }pipeline/sample-pipe-line.json:{ "name": "sample-pipe-line", "type": "Microsoft.DataFactory/factories/pipelines", "properties": { "description": "sampleWait desc", "activities": [ { "name": "sampleWait", "type": "Wait", "dependsOn": [], "userProperties": [], "typeProperties": { "waitTimeInSeconds": 2 } } ], "annotations": [] } }node node_modules/@microsoft/azure-data-factory-utilities/lib/index.js validate "<repoRoot>" adf-rehydrade-demo-devActual result Error
CmdApiApp: Starting to validate all resources
Validator: Start validation for: pipeline - sample-pipe-line
ERROR === CmdApiApp: Failed to run resource validation. Error: {"stack":"TypeError: Cannot read properties of undefined (reading 'named')\n at _o. (/.../downloads/main.js:2:15910060)\n at Generator.next ()\n at r (/.../downloads/main.js:2:14326978)","message":"Cannot read properties of undefined (reading 'named')"}
=====ERROR=====
Error: Command failed: node .../downloads/main.js validate adf-rehydrade-demo-dev
Execution failed with exit code: 255
Actual result