Azure / Azure/static-web-apps

Azure Devops Pipeline issue: Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

Open
#555 4 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

Hi,
I am using Azure Static webapp with Nextjs and setup my project in Azure Devops. The pipeline was working fine but now I started getting below error.

Here is the code of my azure-pipeline.yml

```yaml
trigger:
- develop
- main

pool:
vmImage: 'ubuntu-latest'

steps:
- checkout: self
submodules: true

- task: AzureStaticWebApp@0
inputs:
app_location: 'my-app'
api_location: 'api'
output_location: 'out'
azure_static_web_apps_api_token: $(deployment_token)
```

**Screenshots**
This is the error I get during build. But it is working fine locally

![image](https://user-images.githubusercontent.com/21005625/130353339-30988083-7320-446a-9a05-256cece816a5.png)

I am not sure what went wrong.

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.