Nuxt 3 in Azure DevOps is not properly built by Oryx (missing Azure preset for Nitro built)
- Dominant language
- No language data
- Stars
- 346
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
**Describe the bug**
Following this guide to deploy a Nuxt 3 site to a SWA, however trying to use Azure DevOps pipelines rather than Github Actions.
Guide:
https://learn.microsoft.com/en-us/azure/static-web-apps/deploy-nuxtjs
Repo code:
https://github.com/staticwebdev/nuxt-3-starter
Pipeline:
```
name: Azure Static Web Apps CI/CD
pr:
branches:
include:
- master
trigger:
branches:
include:
- master
jobs:
- job: build_and_deploy_job
displayName: Build and Deploy Job
condition: or(eq(variables['Build.Reason'], 'Manual'),or(eq(variables['Build.Reason'], 'PullRequest'),eq(variables['Build.Reason'], 'IndividualCI')))
pool:
vmImage: ubuntu-latest
variables:
- group: Azure-Static-Web-Apps-thankful-moss-0b71eae03-variable-group
steps:
- checkout: self
submodules: true
- task: AzureStaticWebApp@0
inputs:
azure_static_web_apps_api_token: $(AZURE_STATIC_WEB_APPS_API_TOKEN_THANKFUL_MOSS_0B71EAE03)
###### Repository/Build Configurations - These values can be configured to match your app requirements. ######
# For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig
app_location: "/" # App source code path
api_location: ".output/server" # Api source code path - optional
output_location: ".output/public" # Built app content directory - optional
###### End of Repository/Build Configurations ######
```
After configuring the pipeline and running it I get the error:
```
Failed to find a default file in the app artifacts folder (.output/public). Valid default files: index.html,Index.html.
If your application contains purely static content, please verify that the variable 'app_location' in your deployment configuration file points to the root of your application.
If your application requires build steps, please validate that a default file exists in the build output directory.
```

Should be reproducible following the exact steps of the article, just pointing to Azure DevOps rather than Github.
Is there a setting that needs to be changed for this to work on a ADO build? Surely it should work the same on either platform?
Let me know if there's a better place to log this issue - I wasn't quite sure where it could go.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.