Skip to content

Diya 🔥 fix(build): Fixed build issues in Surge#5214

Merged
one-community merged 1 commit into
developmentfrom
Diya_Fix_BuildIssues
May 1, 2026
Merged

Diya 🔥 fix(build): Fixed build issues in Surge#5214
one-community merged 1 commit into
developmentfrom
Diya_Fix_BuildIssues

Conversation

@DiyaWadhwani
Copy link
Copy Markdown
Contributor

Description

Fixes the GitHub Actions CI build failure on the development branch caused by npm ci failing due to missing package-lock.json.

Fixes: Surge build failure — npm error code EUSAGE / missing package-lock.json

Related PRs (if any):

None

Main changes explained:

  • Removed package-lock.json from .gitignore (it was listed twice) so it is now tracked by git
  • Committed package-lock.json to the repository so npm ci in GitHub Actions can run successfully

How to test:

  1. Check out current branch
  2. Verify package-lock.json exists at the root of the project
  3. Run npm ci locally to confirm it installs without errors
  4. Merge and verify the GitHub Actions Build (Development) job passes

Note:

package-lock.json should always be committed for applications (not libraries) to ensure reproducible builds across all environments. It was previously added to .gitignore by mistake which caused npm ci to fail in CI since that command requires a lockfile. This fix ensures the Surge deployment pipeline can run successfully.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 1, 2026

Deploy Preview for highestgoodnetwork-dev ready!

Name Link
🔨 Latest commit 37947e2
🔍 Latest deploy log https://app.netlify.com/projects/highestgoodnetwork-dev/deploys/69f41dbfddf45600088fb9ec
😎 Deploy Preview https://deploy-preview-5214--highestgoodnetwork-dev.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

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

@sonarqubecloud
Copy link
Copy Markdown

sonarqubecloud Bot commented May 1, 2026

@one-community one-community changed the title Diya fix(build): Fixed build issues in Surge Diya 🔥 fix(build): Fixed build issues in Surge May 1, 2026
@one-community one-community merged commit e786b1d into development May 1, 2026
10 checks passed
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.

2 participants