swarooppatilx / scruter

Scruter is a local classifieds and community site designed to bring people together for buying, selling, and exchanging goods and services.
https://scruter.vercel.app
GNU General Public License v3.0
28 stars 134 forks source link

Resolved All Build Issues #509

Closed ShivanshPlays closed 2 weeks ago

ShivanshPlays commented 2 weeks ago

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

Results

After applying these fixes, the build process has been successfully completed without any errors or warnings.

Screenshot 2024-11-07 183752

This ensures that once this PR is merged, the deployment process will be successful and free of build-related issues.

Steps Taken

  1. Identified and fixed over 20 syntax and TypeScript issues.
  2. Updated next.config.js to support external image domains.
  3. Refactored code to follow the latest Next.js syntax and TypeScript best practices.
  4. Tested the application locally to confirm the successful build.

Expected Outcome

Additional Notes


Labels: bug, build, TypeScript, Next.js, deployment

CLOSES #508

vercel[bot] commented 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.

ShivanshPlays commented 2 weeks ago

@swarooppatilx conflicts are solved.

ShivanshPlays commented 2 weeks ago

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