Azure / Azure/static-web-apps

Build failing in GitHub actions for fsevents

Open
#891 3 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**

I am using the `Azure/static-web-apps-deploy@v1` in my GitHub actions and it keeps failing for the following error:

> npm ERR! notsup Unsupported platform for fsevents@2.3.2: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"})

This `.yml` file was created automatically during the Static Web App creation as stated in Microsoft Docs. Later I just added a regular React code under _app_ folder.

The React app + api locally works without issues; but getting error when the GitHub actions try to build it.

Let me know if any other details are needed.

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.