Skip to content

fix: update package main entry to server.js#1157

Open
agarwalpranav0711 wants to merge 1 commit into
Charushi06:mainfrom
agarwalpranav0711:fix/package-main-entry
Open

fix: update package main entry to server.js#1157
agarwalpranav0711 wants to merge 1 commit into
Charushi06:mainfrom
agarwalpranav0711:fix/package-main-entry

Conversation

@agarwalpranav0711

Copy link
Copy Markdown

Related Issue

Closes #1156

Summary

This PR updates the main field in package.json from index.js to server.js.

The repository currently references index.js as the package entry point, but that file does not exist. The actual application entry point is server.js, which is already used by the start script.

Changes Made

  • Updated "main": "index.js" to "main": "server.js" in package.json

Testing

  • Verified package.json remains valid JSON
  • Verified npm install
  • Verified npm start
  • Verified node . resolves correctly after the change
  • No regressions introduced

Screenshots

N/A

Checklist

  • Tested locally
  • No breaking changes introduced
  • Linked related issue

@agarwalpranav0711

Copy link
Copy Markdown
Author

Hi maintainers,

Just a friendly follow-up regarding this PR.

The issue has been verified, the fix has been tested locally, and the PR only updates the package.json entry point to match the actual server entry file.

Please let me know if any changes are needed from my side.

Thank you for your time and review.

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.

Bug: package.json main field points to non-existent index.js

1 participant