Skip to content

Fix npm install failure in release workflow with --legacy-peer-deps#1231

Merged
leecalcote merged 2 commits intomasterfrom
copilot/fix-action-job-failure
Jan 16, 2026
Merged

Fix npm install failure in release workflow with --legacy-peer-deps#1231
leecalcote merged 2 commits intomasterfrom
copilot/fix-action-job-failure

Conversation

Copy link
Contributor

Copilot AI commented Jan 16, 2026

Release workflow fails at npm install after switching to GitHub-hosted mui-datatables fork (PR #1218). npm 11.6.2+ enforces stricter peer dependency resolution for Git dependencies, causing ERESOLVE conflicts.

Changes

  • Added --legacy-peer-deps flag to npm install in .github/workflows/release.yml (line 47)

This allows installation to proceed despite peer dependency conflicts between the forked mui-datatables and @mui/material@6.5.0.

- name: Install, Build, and Publish Package
  run: |
    npm install --legacy-peer-deps
    npm run build
    npm publish --provenance --access public --verbose
Original prompt

Fix this failure - https://github.com/layer5io/sistent/actions/runs/21054479106/job/60547613160


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI self-assigned this Jan 16, 2026
Copilot AI changed the title [WIP] Fix action job failure in Sistent repository Fix npm install failure in release workflow with --legacy-peer-deps Jan 16, 2026
Copilot AI requested a review from fitzergerald January 16, 2026 03:48
@leecalcote leecalcote marked this pull request as ready for review January 16, 2026 04:03
@leecalcote leecalcote merged commit a4637aa into master Jan 16, 2026
1 check passed
@leecalcote leecalcote deleted the copilot/fix-action-job-failure branch January 16, 2026 04:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants