Azure / Azure/static-web-apps

The app build failed to produce artifact folder...

Open
#1,030 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When a job starts from the pipeline to publish a Angular 14.2 to Azure Static Web App,
since updating to 14.2, we receive the error :

The app build failed to produce artifact folder: 'dist/cubiShippingDashboard'. Please ensure this property is configured correctly in your deployment configuration file

This was working before Angular 14.2.
Running in VS CODE works perfectly.

If I remove CUSTOM_BUILD_COMMAND which wasn't there before, Oryx failed without further explanation !

**To Reproduce**
Run pipeline for Angular 14.2 on Azure Static Web App

**Expected behavior**
The job should succeed the same way it did prior to update to 14.2 of Angular

**Screenshots**
If applicable, add screenshots to help explain your problem.
![image](https://user-images.githubusercontent.com/8614008/210872750-d7b61d82-e6eb-41ce-9c4a-54d8d418138b.png)

**Device info (if applicable):**
- OS: Windows 11
- Browser Edge
- Version Version 108.0.1462.54 (Official build) (64-bit)

**Additional context**
When I compare the last working log I see the build going on after **Running 'npm install --force'** which doesn't occur now
I've been trying to figure out what is going here since the beginning of december 2022. I'm out of breath

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.