Skip to content

Fix deploy preview install failures caused by runtime mismatch and nested dependency scripts#834

Closed
divyansh-cyber wants to merge 2 commits intoaccordproject:mainfrom
divyansh-cyber:fixissue-883
Closed

Fix deploy preview install failures caused by runtime mismatch and nested dependency scripts#834
divyansh-cyber wants to merge 2 commits intoaccordproject:mainfrom
divyansh-cyber:fixissue-883

Conversation

@divyansh-cyber
Copy link
Copy Markdown

This PR addresses deploy-preview install failures seen after the Concerto v4 beta validation work.

Problem

Deploy logs showed:

  • Node runtime mismatch warnings (packages expecting Node 20+ while deploy used Node 18)
  • install failure inside nested Concerto dependency path
  • missing lockfile-lint during a transitive install script

Changes

  • aligned runtime expectations for CI/deploy with current dependency requirements
  • stabilized dependency resolution to avoid the failing nested install-script path
  • reduced config noise so real install errors are easier to diagnose

Fixes : #833

Signed-off-by: Divyansh Rai <140232173+divyansh-cyber@users.noreply.github.com>
@divyansh-cyber divyansh-cyber requested a review from a team as a code owner March 18, 2026 09:53
Copilot AI review requested due to automatic review settings March 18, 2026 09:53
@netlify
Copy link
Copy Markdown

netlify Bot commented Mar 18, 2026

Deploy Preview for ap-template-playground ready!

Name Link
🔨 Latest commit 71a822f
🔍 Latest deploy log https://app.netlify.com/projects/ap-template-playground/deploys/69c12b6d3e9c8a00086bc35b
😎 Deploy Preview https://deploy-preview-834--ap-template-playground.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Updates runtime configuration to align deploy-preview installs with dependencies that expect a newer Node/npm toolchain, targeting Netlify and project engine metadata.

Changes:

  • Bumped package.json engines to require Node >=20 and npm >=10.
  • Updated the top-level engine metadata in package-lock.json to match.
  • Added netlify.toml to pin Netlify build environment to Node 20 / npm 10.

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
package.json Raises declared Node/npm engine requirements to match current dependency expectations.
package-lock.json Updates the root package engine metadata stored in the lockfile.
netlify.toml Pins Netlify deploy-preview runtime (Node/npm) to avoid Node 18 install failures.

You can also share your feedback on Copilot code review. Take the survey.

Comment thread package.json
Comment on lines 6 to 9
"engines": {
"node": ">=18",
"npm": ">=6"
"node": ">=20",
"npm": ">=10"
},
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Apr 8, 2026

This PR is stale because it has been open 15 days with no activity. Remove stale label or comment or this will be closed in 10 days.

@github-actions github-actions Bot added the Stale label Apr 8, 2026
@github-actions github-actions Bot closed this Apr 19, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Deploy preview install fails on Node 18 with nested Concerto metamodel script (lockfile-lint not found)

2 participants