Azure / Azure/static-web-apps

npm fails to install due to old peer dependencies

Open
#980 4 comments 0 reactions 0 assignees View on GitHub
oryx
Dominant language
No language data
Stars
346
Forks
67
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**

As of today. I am unable to deploy using Azure/static-web-apps-deploy@v1 github action.

We are using Angular v14. We are still waiting on a few third party dependencies to upgrade to support Angular v14. Until then we have to run `npm install --force | --legacy-peer-deps`

This github action runs the install for you which does not use either of those flags. Our system is in production and we are unable to deploy changes do to this. Please fix.

**Expected behavior**
I expect to be able to reference the npm install command. Or allow a "use-legacy-peer-dependencies" flag in the configuration that will tell node to run using that flag.

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.