Azure / Azure/Azure-Functions

ArchiveFile@v2 Suddenly failing

Open
#2,586 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
PowerShell
Stars
1.1k
Forks
215
Avg merge
4h 2m
Merged PRs (30d)
1

Description

ArchiveFile2V2 failing with this error
using version : 2.253.0

TypeError: paths.flat is not a function
paths.flat is not a function

Detailed information below

2025-03-07T16:44:09.9026051Z ##[section]Starting: Archive
2025-03-07T16:44:09.9165204Z ==============================================================================
2025-03-07T16:44:09.9165412Z Task : Archive files
2025-03-07T16:44:09.9165567Z Description : Compress files into .7z, .tar.gz, or .zip
2025-03-07T16:44:09.9165704Z Version : 2.253.0
2025-03-07T16:44:09.9165846Z Author : Microsoft Corporation
2025-03-07T16:44:09.9166047Z Help : https://docs.microsoft.com/azure/devops/pipelines/tasks/utility/archive-files
2025-03-07T16:44:09.9166251Z ==============================================================================
2025-03-07T16:44:10.4297073Z ##[error]TypeError: paths.flat is not a function
2025-03-07T16:44:10.4299071Z ##[error]paths.flat is not a function
2025-03-07T16:44:10.4301768Z ##[section]Finishing: Archive

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.