fix: resolve backend crash and package.json syntax errors#180
fix: resolve backend crash and package.json syntax errors#180rizwan749 wants to merge 3 commits into
Conversation
|
@rizwan749 is attempting to deploy a commit to the anubhav12302387's projects Team on Vercel. A member of the Team first needs to authorize it. |
👋 Thanks for opening a PR, @rizwan749!Your PR has entered the 🎯 EventOne GSSoC PR Review Pipeline.
What happens next
A pipeline status comment will appear below and update automatically as your PR progresses. While you wait
This comment is posted only once. EventOne × GSSoC Automated Pipeline |
❌ PR Format Check — Failed — Please Fix BelowHi @rizwan749! Please fix the issues below before your PR can proceed to mentor review. ❌ Must Fix Before Proceeding❌ Issue #171 is not assigned to you (@rizwan749) — You must be assigned to the issue before submitting a PR.
|
|
Hi @anubhavxdev, I noticed another PR was submitted shortly before mine, but I want to highlight that this PR completely resolves both the |
👥 Stage 2 — Mentor ReviewTwo mentors assigned: EventOne × GSSoC Pipeline |
|
Hey @rizwan749! Merge conflicts hain. Please resolve: git fetch origin && git merge origin/main, fix conflicts, then git push. |
|
Hey! Since some recent PRs were merged, this branch now has merge conflicts with upstream main. Please resolve them to get it merged!\n\nHere are the commands you can run to resolve the conflict:\n |
|
Hey @rizwan749! Merge conflicts hain. Please resolve: git fetch origin && git merge origin/main, fix conflicts, then git push. |
1 similar comment
|
Hey @rizwan749! Merge conflicts hain. Please resolve: git fetch origin && git merge origin/main, fix conflicts, then git push. |
|
Hi! This PR currently has merge conflicts with the base branch. Could you please fetch the latest changes and resolve the conflicts? Let us know once it's done so we can review and merge it. Thanks! |
|
@copilot resolve the merge conflicts in this pull request |
There was an issue in the package.json file where the brackets were not closed properly and the test script was not in its right place. So whenever a developer used the command npm install, it crashed the app and threw an "EJSONPARSE" error.
I fixed the bracket problem and placed the test script in its right place.
(Fix configuration/syntax error in package.json)
After fixing the package.json file, when I used the npm run dev command, there was another crash due to the imports. Some imports were missing in server.js and authRoutes.js, even though the variables were already created.
I added the missing import statements and fixed the routes that were broken or not working properly.
(Resolve server crash by adding missing imports in server.js and authRoutes.js)
Closes #171