Closed ShivanshPlays closed 2 weeks ago
@ShivanshPlays is attempting to deploy a commit to the Piyush's projects Team on Vercel.
A member of the Team first needs to authorize it.
@swarooppatilx conflicts are solved.
FOR THE REVIEWERS:
hello, I would like to mention that due to working on 2 branches simultaneously, by mistake some changes were committed to this PR: https://github.com/swarooppatilx/scruter/pull/476.
apologies for the inconvenience
This PR addresses and resolves all the build issues that were preventing successful deployment. The issues were primarily due to non-compliance with the latest Next.js syntax and TypeScript rules. After resolving these issues, the build process is now successful, and deployment will work smoothly once this PR is merged.
Issues Addressed
20+ Syntax Issues: A total of 20+ syntax and TypeScript errors were identified in the codebase. These issues were causing failures during the build process. The issues included:
any
type errorsasync/await
Fixes Implemented:
next.config.js
file to allow external image domains (e.g.,avatars.githubusercontent.com
).async/await
for asynchronous operations.Results
After applying these fixes, the build process has been successfully completed without any errors or warnings.
This ensures that once this PR is merged, the deployment process will be successful and free of build-related issues.
Steps Taken
next.config.js
to support external image domains.Expected Outcome
Additional Notes
Labels:
bug
,build
,TypeScript
,Next.js
,deployment
CLOSES #508