Skip to content

Conversation

Adez017
Copy link
Member

@Adez017 Adez017 commented Sep 10, 2025

Description

Provide a brief summary of the changes made to the website and the motivation behind them. Include any relevant issues or tickets.
This helps fast tracking your PR and merge it, Check the respective box below.

Fixes #158

Type of Change

  • New feature (e.g., new page, component, or functionality)
  • Bug fix (non-breaking change that fixes an issue)
  • UI/UX improvement (design, layout, or styling updates)
  • Performance optimization (e.g., code splitting, caching)
  • Documentation update (README, contribution guidelines, etc.)
  • Other (please specify):

Changes Made

  • Describe the key changes (e.g., new sections, updated components, responsive fixes).

Dependencies

  • List any new dependencies or tools required for this change.
  • Mention any version updates or configurations that need to be considered.

Checklist

  • My code follows the style guidelines of this project.
  • I have tested my changes across major browsers/devices
  • My changes do not generate new console warnings or errors , I ran npm run build and attached scrrenshot in this PR.
  • This is already assigned Issue to me, not an unassigned issue.

Copy link

vercel bot commented Sep 10, 2025

@Adez017 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

@Adez017
Copy link
Member Author

Adez017 commented Sep 10, 2025

Hi @sanjay-kv @iitzIrFan , i had ushed the backend code inside the dashboard folder , by now it need some small fixes regarding the file path for root consideration. didn't changed anything in the dashboard file currently . waiting for the next instructions

@sanjay-kv sanjay-kv requested a review from Copilot September 10, 2025 05:00
@sanjay-kv sanjay-kv moved this to In Progress in @recode-web Sep 10, 2025
@sanjay-kv sanjay-kv added this to the recode:launch 3.0 milestone Sep 10, 2025
@sanjay-kv
Copy link
Member

sanjay-kv commented Sep 10, 2025

@iitzIrFan can u review this

im not sure it can be in the same repo @iitzIrFan

Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds a complete backend implementation for a leaderboard system that tracks GitHub organization contributors based on merged pull requests. The backend fetches PR data from GitHub's API, calculates user scores, and provides REST endpoints to serve leaderboard data.

  • Implements Express.js server with endpoints for leaderboard data retrieval
  • Adds GitHub API integration to fetch merged PRs and calculate contributor scores
  • Includes scheduled job functionality to automatically update leaderboard data

Reviewed Changes

Copilot reviewed 5 out of 6 changed files in this pull request and generated 6 comments.

Show a summary per file
File Description
src/pages/dashboard/Leaderboard_backend/server.js Main Express server with API endpoints and file initialization
src/pages/dashboard/Leaderboard_backend/package.json Dependencies configuration for the backend service
src/pages/dashboard/Leaderboard_backend/jobs/update_leaderboard.js Scheduled job to automatically update leaderboard data
src/pages/dashboard/Leaderboard_backend/functions/org_leaderboard.js Core logic for fetching GitHub data and generating leaderboard
src/pages/dashboard/Leaderboard_backend/.gitignore Git ignore configuration for node_modules

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.


app.use(express.json());
app.use(cors());
generateOrgLeaderboard();
Copy link

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Calling generateOrgLeaderboard() synchronously at startup without error handling could cause the server to crash if the GitHub API is unavailable or returns an error during initialization.

Suggested change
generateOrgLeaderboard();
(async () => {
try {
await generateOrgLeaderboard();
} catch (err) {
console.error("Failed to generate org leaderboard at startup:", err);
}
})();

Copilot uses AI. Check for mistakes.

app.get("/Org_Leaderboard", (req, res) => {
console.log("got the request");
fs.readFile("org_leaderboard.json", "utf8", function (err, data) {
if (err) throw err;
Copy link

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using throw err in an async callback will crash the server instead of sending an error response to the client. Replace with proper error handling that sends an HTTP error response.

Suggested change
if (err) throw err;
if (err) {
console.error("Error reading org_leaderboard.json:", err);
return res.status(500).send({ success: false, message: "Failed to read leaderboard data." });
}

Copilot uses AI. Check for mistakes.

JSON.stringify(default_json),
"utf8",
function (err) {
if (err) throw err;
Copy link

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using throw err in an async callback will crash the server during startup. Consider using console.error() and graceful error handling instead.

Suggested change
if (err) throw err;
if (err) {
console.error("Error resetting org_leaderboard.json:", err);
return;
}

Copilot uses AI. Check for mistakes.

Comment on lines +6 to +10
let leaderboard = {};

const timer = ms => new Promise(res => setTimeout(res, ms));

async function generateOrgLeaderboard() {
Copy link

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The leaderboard object is declared at module level, which means it will accumulate data across multiple function calls without being reset. This will cause duplicate entries and incorrect scores when the function runs multiple times.

Suggested change
let leaderboard = {};
const timer = ms => new Promise(res => setTimeout(res, ms));
async function generateOrgLeaderboard() {
const timer = ms => new Promise(res => setTimeout(res, ms));
async function generateOrgLeaderboard() {
let leaderboard = {};

Copilot uses AI. Check for mistakes.

updatedTimestring: new Date().toLocaleString()
};

fs.writeFileSync("org_leaderboard.json", JSON.stringify(json, null, 2));
Copy link

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Using synchronous file operations (writeFileSync) in an async function can block the event loop. Consider using fs.promises.writeFile or fs.writeFile with a callback for better performance.

Suggested change
fs.writeFileSync("org_leaderboard.json", JSON.stringify(json, null, 2));
await fs.promises.writeFile("org_leaderboard.json", JSON.stringify(json, null, 2));

Copilot uses AI. Check for mistakes.


if (!leaderboard[user.id].pr_urls.includes(pr.html_url)) {
leaderboard[user.id].pr_urls.push(pr.html_url);
leaderboard[user.id].score += 10; // scoring rule (static here)
Copy link

Copilot AI Sep 10, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

[nitpick] The score value (10) is a magic number. Consider defining this as a named constant at the top of the file for better maintainability.

Copilot uses AI. Check for mistakes.

@iitzIrFan
Copy link
Member

iitzIrFan commented Sep 11, 2025

@Adez017 is this even working locally if, yes I would love to see the video preview of this cuz on my side it gives errors, I tried multiple times but, failed to build your code !
Try to run npm run build on your side first and need video preview for further consideration of this pr.
I tried by adding webpack .config and it didn't work out though ...
Update me on this & can ask for help if needed.

image

@iitzIrFan iitzIrFan added the under review Review under the maintainers or the admins label Sep 11, 2025
@sanjay-kv
Copy link
Member

Thanks for the review @iitzIrFan

@iitzIrFan iitzIrFan added the don't-merge faced conflict issue or other dev related issue, dont merge PR label Sep 11, 2025
@Adez017
Copy link
Member Author

Adez017 commented Sep 11, 2025

Hi @iitzIrFan , actually i tried creating a separate repo for this and then pushed the changes in the PR , on my local machine its workign fine . below is the video you can refer :
https://drive.google.com/file/d/1xIMcvyPnV7U1k0MuDikItW-fV70wZ183/view?usp=sharing

@iitzIrFan
Copy link
Member

Hi @iitzIrFan , actually i tried creating a separate repo for this and then pushed the changes in the PR , on my local machine its workign fine . below is the video you can refer : https://drive.google.com/file/d/1xIMcvyPnV7U1k0MuDikItW-fV70wZ183/view?usp=sharing

I was thinking as it is implemented here, https://www.recodehive.com/dashboard#contributors I wanted you to just clone it or you can convert your repo into an API [express] for Recode from GSSoC. Then just make the frontend and fetch the required data from your new api !
Let me know your thoughts on this.

@sanjay-kv @Adez017

@Adez017
Copy link
Member Author

Adez017 commented Sep 11, 2025

Hi @iitzIrFan , actually i tried creating a separate repo for this and then pushed the changes in the PR , on my local machine its workign fine . below is the video you can refer : https://drive.google.com/file/d/1xIMcvyPnV7U1k0MuDikItW-fV70wZ183/view?usp=sharing

I was thinking as it is implemented here, https://www.recodehive.com/dashboard#contributors I wanted you to just clone it or you can convert your repo into an API [express] for Recode from GSSoC. Then just make the frontend and fetch the required data from your new api ! Let me know your thoughts on this.

@sanjay-kv @adez01

Nice idea , how about hosting the backend separate and just use the API to fectch the data . @iitzIrFan

@iitzIrFan
Copy link
Member

Yeah that's what I was thinking about, let's wait for @sanjay-kv to put his thoughts on this !
Btw the hosting can be managed by us right for this approach @sanjay-kv ? Do let me know on this.

@Adez017
Copy link
Member Author

Adez017 commented Sep 11, 2025

By the i will be needing help with frontend , i am not that good 😁
@iitzIrFan

@iitzIrFan
Copy link
Member

@Adez017 No issue, you can propose your design @sanjay-kv will conform it 😄

@Adez017
Copy link
Member Author

Adez017 commented Sep 12, 2025

how about this kind of @iitzIrFan @sanjay-kv
image

@iitzIrFan
Copy link
Member

how about this kind of @iitzIrFan @sanjay-kv
image

It looks good and I am guessing that, this is for the dark theme :)

@sanjay-kv
Copy link
Member

its good <3 @Adez017

@Adez017
Copy link
Member Author

Adez017 commented Sep 12, 2025

its good <3 @Adez017

Okay , so let me create a complete working one . @sanjay-kv @iitzIrFan

@iitzIrFan
Copy link
Member

Happy for this pr @Adez017

@sanjay-kv
Copy link
Member

can i merge this? @iitzIrFan

@Adez017
Copy link
Member Author

Adez017 commented Sep 12, 2025

@Adez017 I am guessing you will make a new pr for that, or are you gonna make changes in this one ? @sanjay-kv The API need to be hosted on vercel and from that, @Adez017 will fetch data to frontend of leaderboard section.

Yes @iitzIrFan , also i am thinking of directly integrate the data fetching logic inside the same file . let me give it a try and will look is it working or not

@sanjay-kv
Copy link
Member

@Adez017 I am guessing you will make a new pr for that, or are you gonna make changes in this one ? @sanjay-kv The API need to be hosted on vercel and from that, @Adez017 will fetch data to frontend of leaderboard section.

let me know when to host.

@Adez017
Copy link
Member Author

Adez017 commented Sep 13, 2025

how about this one @sanjay-kv @iitzIrFan
image

@Adez017
Copy link
Member Author

Adez017 commented Sep 13, 2025

Also need your help here @iitzIrFan , the sidebar is not visible and also i had imported the icons but they are not alinged . please if possible help out .
You can directly push changes to : https://github.com/Adez017/recode-website/tree/dahsboard-leaderboard

I need assistance , i tried but its failing too many times

@sanjay-kv
Copy link
Member

@Adez017 lets keep the same design as gssoc, i would suggest

@Adez017
Copy link
Member Author

Adez017 commented Sep 13, 2025

@Adez017 lets keep the same design as gssoc, i would suggest

Can i get a frontend code for the reference @sanjay-kv

@sanjay-kv
Copy link
Member

@Adez017 https://github.com/sanjay-kv/front-end-design

here you go

@Adez017
Copy link
Member Author

Adez017 commented Sep 13, 2025

How about this one @sanjay-kv
image

image

@Adez017
Copy link
Member Author

Adez017 commented Sep 13, 2025

Hi @sanjay-kv @iitzIrFan , the dashboard is working now , but here is the things need to be fixed :

  1. The sidebar is not visible (I tried really hard , even google the things , everything possible)
  2. I messed up the Giveway page
  3. The icons on main page are not loading well
  4. discussion tab work as intended

And to be honest i need help to fix this things , i had tried everything possible at my end .
Here are the changes : https://github.com/Adez017/recode-website/tree/dahsboard-leaderboard

@Adez017
Copy link
Member Author

Adez017 commented Sep 14, 2025

Here is the Update , i had restored the functionality :here is the video update .
Some things need to be fixed and need the support from @iitzIrFan or you if possible
https://drive.google.com/file/d/1H9FxMsRTChcWJ_ziDloTnrrZ7TSARj-l/view?usp=sharing

@sanjay-kv
Copy link
Member

How about this one @sanjay-kv image

image

This looks good, you can remove me, allcontributor from the PR list i think can hide it @Adez017

@sanjay-kv
Copy link
Member

Here is the Update , i had restored the functionality :here is the video update . Some things need to be fixed and need the support from @iitzIrFan or you if possible https://drive.google.com/file/d/1H9FxMsRTChcWJ_ziDloTnrrZ7TSARj-l/view?usp=sharing

Nw , your development is good, you will get the help from @iitzIrFan on the following.

@sanjay-kv
Copy link
Member

@Adez017 appreciate the time you spent on this. its great. <3 real opensource developer

@Adez017
Copy link
Member Author

Adez017 commented Sep 14, 2025

How about this one @sanjay-kv image
image

This looks good, you can remove me, allcontributor from the PR list i think can hide it @Adez017

Done @sanjay-kv
image

@iitzIrFan
Copy link
Member

How about this one @sanjay-kv image
image

This looks good, you can remove me, allcontributor from the PR list i think can hide it @Adez017

Done @sanjay-kv image

Will review and update ! @Adez017 @sanjay-kv

@iitzIrFan
Copy link
Member

@Adez017 can you run npm run build as I encounter some errors with webpack and other dependencies although installed.

@iitzIrFan iitzIrFan self-requested a review September 14, 2025 17:31
Copy link
Member

@iitzIrFan iitzIrFan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Adez017 For now just run npm run build and if, errors then, try solving them or tag, happy to help :)

@Adez017
Copy link
Member Author

Adez017 commented Sep 15, 2025

@Adez017 For now just run npm run build and if, errors then, try solving them or tag, happy to help :)

Sure ! @iitzIrFan , just to confirm you are trying for this : https://github.com/Adez017/recode-website/tree/dahsboard-leaderboard

@Adez017
Copy link
Member Author

Adez017 commented Sep 15, 2025

Hi @iitzIrFan , i had run the npm run build it got successful:
image

@sanjay-kv
Copy link
Member

[17:41:47.398] Running build in Washington, D.C., USA (East) – iad1 [17:41:47.398] Build machine configuration: 4 cores, 8 GB [17:41:47.420] Cloning github.com/recodehive/recode-website (Branch: testimonies, Commit: 51be7d3) [17:41:47.427] Skipping build cache, deployment was triggered without cache. [17:41:49.474] Cloning completed: 2.054s [17:41:49.816] Running "vercel build" [17:41:50.237] Vercel CLI 47.1.1 [17:41:50.897] Warning: Detected "engines": { "node": ">=18.0" } in your package.jsonthat will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version [17:41:50.902] Installing dependencies... [17:42:32.015] npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. [17:42:32.088] npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported [17:42:32.234] npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported [17:42:51.619] [17:42:51.620] added 1637 packages in 1m [17:42:51.620] [17:42:51.620] 425 packages are looking for funding [17:42:51.620] runnpm fund for details [17:42:51.684] Running "npm run build" [17:42:51.802] [17:42:51.802] > [email protected] build [17:42:51.802] > docusaurus build [17:42:51.802] [17:42:52.959] [INFO] [en] Creating an optimized production build... [17:42:53.425] [WARNING] Docusaurus found blog posts without truncation markers: [17:42:53.426] - "blog/spark-architecture/index.md" [17:42:53.426] - "blog/git-coding-agent/index.md" [17:42:53.426] - "blog/ux-ui-design-job/index.md" [17:42:53.426] - "blog/ux-designers-ai/index.md" [17:42:53.426] - "blog/streamline-ux-ui/index.md" [17:42:53.426] - "blog/google-deepmind/index.md" [17:42:53.426] - "blog/google-backlinks/index.md" [17:42:53.426] [17:42:53.426] We recommend using truncation markers (or{/* truncate */}) in blog posts to create shorter previews on blog paginated lists. [17:42:53.426] Tip: turn this security off with the onUntruncatedBlogPosts: 'ignore' blog plugin option. [17:42:53.952] [info] [webpackbar] Compiling Client [17:42:53.976] [info] [webpackbar] Compiling Server [17:43:58.222] [success] [webpackbar] Server: Compiled with some errors in 1.07m [17:44:36.202] [success] [webpackbar] Client: Compiled with some errors in 1.70m [17:44:36.212] [ERROR] Client bundle compiled with errors therefore further build is impossible. [17:44:36.213] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/accepts/node_modules/mime-types' [17:44:36.213] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.213] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.213] [17:44:36.213] If you want to include a polyfill, you need to: [17:44:36.213] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.213] - install 'path-browserify' [17:44:36.213] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.213] resolve.fallback: { "path": false } [17:44:36.213] [17:44:36.213] -------------------------- [17:44:36.213] [17:44:36.213] Module not found: Error: Can't resolve 'axios' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend/functions' [17:44:36.213] [17:44:36.213] -------------------------- [17:44:36.213] [17:44:36.214] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend/functions' [17:44:36.214] [17:44:36.214] -------------------------- [17:44:36.214] [17:44:36.214] Module not found: Error: Can't resolve 'node-schedule' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend/jobs' [17:44:36.214] [17:44:36.214] -------------------------- [17:44:36.214] [17:44:36.214] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend' [17:44:36.214] [17:44:36.214] -------------------------- [17:44:36.219] [17:44:36.219] Module not found: Error: Can't resolve 'cors' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend' [17:44:36.219] [17:44:36.219] -------------------------- [17:44:36.219] [17:44:36.219] Module not found: Error: Can't resolve 'zlib' in '/vercel/path0/node_modules/body-parser/lib' [17:44:36.219] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.219] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.219] [17:44:36.219] If you want to include a polyfill, you need to: [17:44:36.219] - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }' [17:44:36.219] - install 'browserify-zlib' [17:44:36.219] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.219] resolve.fallback: { "zlib": false } [17:44:36.219] [17:44:36.219] -------------------------- [17:44:36.219] [17:44:36.220] Module not found: Error: Can't resolve 'querystring' in '/vercel/path0/node_modules/body-parser/lib/types' [17:44:36.220] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.220] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.220] [17:44:36.220] If you want to include a polyfill, you need to: [17:44:36.220] - add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }' [17:44:36.220] - install 'querystring-es3' [17:44:36.220] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.220] resolve.fallback: { "querystring": false } [17:44:36.220] [17:44:36.220] -------------------------- [17:44:36.220] [17:44:36.220] Module not found: Error: Can't resolve 'crypto' in '/vercel/path0/node_modules/cookie-signature' [17:44:36.220] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.220] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.220] [17:44:36.220] If you want to include a polyfill, you need to: [17:44:36.220] - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' [17:44:36.220] - install 'crypto-browserify' [17:44:36.220] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.220] resolve.fallback: { "crypto": false } [17:44:36.221] [17:44:36.221] -------------------------- [17:44:36.221] [17:44:36.221] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/destroy' [17:44:36.221] [17:44:36.221] -------------------------- [17:44:36.221] [17:44:36.221] Module not found: Error: Can't resolve 'stream' in '/vercel/path0/node_modules/destroy' [17:44:36.221] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.221] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.221] [17:44:36.221] If you want to include a polyfill, you need to: [17:44:36.221] - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }' [17:44:36.221] - install 'stream-browserify' [17:44:36.221] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.221] resolve.fallback: { "stream": false } [17:44:36.221] [17:44:36.221] -------------------------- [17:44:36.221] [17:44:36.221] Module not found: Error: Can't resolve 'zlib' in '/vercel/path0/node_modules/destroy' [17:44:36.221] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.221] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.222] [17:44:36.222] If you want to include a polyfill, you need to: [17:44:36.222] - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }' [17:44:36.222] - install 'browserify-zlib' [17:44:36.222] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.222] resolve.fallback: { "zlib": false } [17:44:36.222] [17:44:36.222] -------------------------- [17:44:36.222] [17:44:36.222] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/dotenv/lib' [17:44:36.222] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.222] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.222] [17:44:36.222] If you want to include a polyfill, you need to: [17:44:36.222] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.223] - install 'path-browserify' [17:44:36.223] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.223] resolve.fallback: { "path": false } [17:44:36.223] [17:44:36.223] -------------------------- [17:44:36.223] [17:44:36.223] Module not found: Error: Can't resolve 'os' in '/vercel/path0/node_modules/dotenv/lib' [17:44:36.223] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.223] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.223] [17:44:36.224] If you want to include a polyfill, you need to: [17:44:36.224] - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }' [17:44:36.224] - install 'os-browserify' [17:44:36.224] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.224] resolve.fallback: { "os": false } [17:44:36.224] [17:44:36.224] -------------------------- [17:44:36.224] [17:44:36.224] Module not found: Error: Can't resolve 'crypto' in '/vercel/path0/node_modules/dotenv/lib' [17:44:36.224] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.224] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.224] [17:44:36.224] If you want to include a polyfill, you need to: [17:44:36.224] - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' [17:44:36.224] - install 'crypto-browserify' [17:44:36.225] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.225] resolve.fallback: { "crypto": false } [17:44:36.225] [17:44:36.225] -------------------------- [17:44:36.225] [17:44:36.225] Module not found: Error: Can't resolve 'crypto' in '/vercel/path0/node_modules/etag' [17:44:36.225] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.225] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.225] [17:44:36.225] If you want to include a polyfill, you need to: [17:44:36.225] - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' [17:44:36.225] - install 'crypto-browserify' [17:44:36.225] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.225] resolve.fallback: { "crypto": false } [17:44:36.225] [17:44:36.225] -------------------------- [17:44:36.225] [17:44:36.225] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/etag' [17:44:36.225] [17:44:36.225] -------------------------- [17:44:36.225] [17:44:36.225] Module not found: Error: Can't resolve 'http' in '/vercel/path0/node_modules/express/lib' [17:44:36.225] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.226] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.226] [17:44:36.226] If you want to include a polyfill, you need to: [17:44:36.226] - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' [17:44:36.226] - install 'stream-http' [17:44:36.226] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.226] resolve.fallback: { "http": false } [17:44:36.226] [17:44:36.226] -------------------------- [17:44:36.226] [17:44:36.226] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/express/lib' [17:44:36.226] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.226] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.226] [17:44:36.226] If you want to include a polyfill, you need to: [17:44:36.226] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.226] - install 'path-browserify' [17:44:36.226] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.226] resolve.fallback: { "path": false } [17:44:36.226] [17:44:36.226] -------------------------- [17:44:36.226] [17:44:36.226] Module not found: Error: Can't resolve 'net' in '/vercel/path0/node_modules/express/lib' [17:44:36.226] [17:44:36.227] -------------------------- [17:44:36.227] [17:44:36.227] Module not found: Error: Can't resolve 'http' in '/vercel/path0/node_modules/express/lib' [17:44:36.227] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.227] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.227] [17:44:36.227] If you want to include a polyfill, you need to: [17:44:36.227] - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' [17:44:36.227] - install 'stream-http' [17:44:36.227] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.227] resolve.fallback: { "http": false } [17:44:36.227] [17:44:36.227] -------------------------- [17:44:36.227] [17:44:36.227] Module not found: Error: Can't resolve 'http' in '/vercel/path0/node_modules/express/lib' [17:44:36.227] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.227] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.227] [17:44:36.227] If you want to include a polyfill, you need to: [17:44:36.227] - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' [17:44:36.227] - install 'stream-http' [17:44:36.227] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.227] resolve.fallback: { "http": false } [17:44:36.228] [17:44:36.228] -------------------------- [17:44:36.228] [17:44:36.228] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/express/lib' [17:44:36.228] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.228] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.228] [17:44:36.228] If you want to include a polyfill, you need to: [17:44:36.228] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.228] - install 'path-browserify' [17:44:36.228] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.228] resolve.fallback: { "path": false } [17:44:36.228] [17:44:36.228] -------------------------- [17:44:36.228] [17:44:36.228] Module not found: Error: Can't resolve 'querystring' in '/vercel/path0/node_modules/express/lib' [17:44:36.228] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.228] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.228] [17:44:36.228] If you want to include a polyfill, you need to: [17:44:36.228] - add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }' [17:44:36.228] - install 'querystring-es3' [17:44:36.228] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.229] resolve.fallback: { "querystring": false } [17:44:36.229] [17:44:36.229] -------------------------- [17:44:36.229] [17:44:36.229] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/express/lib' [17:44:36.229] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.229] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.229] [17:44:36.229] If you want to include a polyfill, you need to: [17:44:36.229] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.229] - install 'path-browserify' [17:44:36.229] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.229] resolve.fallback: { "path": false } [17:44:36.229] [17:44:36.229] -------------------------- [17:44:36.229] [17:44:36.229] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/express/lib' [17:44:36.229] [17:44:36.229] -------------------------- [17:44:36.229] [17:44:36.229] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/express/node_modules/content-disposition' [17:44:36.229] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.229] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.230] [17:44:36.230] If you want to include a polyfill, you need to: [17:44:36.230] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.230] - install 'path-browserify' [17:44:36.230] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.230] resolve.fallback: { "path": false } [17:44:36.230] [17:44:36.230] -------------------------- [17:44:36.230] [17:44:36.230] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/mime' [17:44:36.230] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.230] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.230] [17:44:36.230] If you want to include a polyfill, you need to: [17:44:36.230] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.230] - install 'path-browserify' [17:44:36.230] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.230] resolve.fallback: { "path": false } [17:44:36.230] [17:44:36.231] -------------------------- [17:44:36.231] [17:44:36.231] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/mime' [17:44:36.231] [17:44:36.231] -------------------------- [17:44:36.231] [17:44:36.232] Module not found: Error: Can't resolve 'url' in '/vercel/path0/node_modules/parseurl' [17:44:36.232] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.232] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.232] [17:44:36.232] If you want to include a polyfill, you need to: [17:44:36.232] - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }' [17:44:36.232] - install 'url' [17:44:36.232] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.232] resolve.fallback: { "url": false } [17:44:36.232] [17:44:36.232] -------------------------- [17:44:36.232] [17:44:36.232] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/send' [17:44:36.232] [17:44:36.232] -------------------------- [17:44:36.232] [17:44:36.232] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/send' [17:44:36.232] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.232] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.232] [17:44:36.233] If you want to include a polyfill, you need to: [17:44:36.233] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.233] - install 'path-browserify' [17:44:36.233] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.233] resolve.fallback: { "path": false } [17:44:36.233] [17:44:36.233] -------------------------- [17:44:36.233] [17:44:36.233] Module not found: Error: Can't resolve 'stream' in '/vercel/path0/node_modules/send' [17:44:36.233] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.233] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.233] [17:44:36.233] If you want to include a polyfill, you need to: [17:44:36.233] - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }' [17:44:36.233] - install 'stream-browserify' [17:44:36.233] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.233] resolve.fallback: { "stream": false } [17:44:36.233] [17:44:36.233] -------------------------- [17:44:36.233] [17:44:36.234] Module not found: Error: Can't resolve 'util' in '/vercel/path0/node_modules/send' [17:44:36.234] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.234] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.234] [17:44:36.234] If you want to include a polyfill, you need to: [17:44:36.234] - add a fallback 'resolve.fallback: { "util": require.resolve("util/") }' [17:44:36.234] - install 'util' [17:44:36.234] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.234] resolve.fallback: { "util": false } [17:44:36.234] [17:44:36.234] -------------------------- [17:44:36.234] [17:44:36.234] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/serve-static' [17:44:36.234] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.234] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.234] [17:44:36.234] If you want to include a polyfill, you need to: [17:44:36.234] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.234] - install 'path-browserify' [17:44:36.234] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.235] resolve.fallback: { "path": false } [17:44:36.235] [17:44:36.235] -------------------------- [17:44:36.235] [17:44:36.235] Module not found: Error: Can't resolve 'url' in '/vercel/path0/node_modules/serve-static' [17:44:36.235] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.235] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.235] [17:44:36.235] If you want to include a polyfill, you need to: [17:44:36.235] - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }' [17:44:36.235] - install 'url' [17:44:36.235] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.235] resolve.fallback: { "url": false } [17:44:36.235] [17:44:36.235] -------------------------- [17:44:36.235] [17:44:36.235] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/type-is/node_modules/mime-types' [17:44:36.235] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.235] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.235] [17:44:36.236] If you want to include a polyfill, you need to: [17:44:36.236] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.236] - install 'path-browserify' [17:44:36.236] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.236] resolve.fallback: { "path": false } [17:44:36.321] Error: Command "npm run build" exited with 1

I appreciate your effort on this, maybe this will be the last bug

@iitzIrFan
Copy link
Member

Same error was seen by when, I reviewed last night @sanjay-kv , waiting for @Adez017 to fix this problem creatively.

@Adez017
Copy link
Member Author

Adez017 commented Sep 15, 2025

[17:41:47.398] Running build in Washington, D.C., USA (East) – iad1 [17:41:47.398] Build machine configuration: 4 cores, 8 GB [17:41:47.420] Cloning github.com/recodehive/recode-website (Branch: testimonies, Commit: 51be7d3) [17:41:47.427] Skipping build cache, deployment was triggered without cache. [17:41:49.474] Cloning completed: 2.054s [17:41:49.816] Running "vercel build" [17:41:50.237] Vercel CLI 47.1.1 [17:41:50.897] Warning: Detected "engines": { "node": ">=18.0" } in your package.jsonthat will automatically upgrade when a new major Node.js Version is released. Learn More: http://vercel.link/node-version [17:41:50.902] Installing dependencies... [17:42:32.015] npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful. [17:42:32.088] npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported [17:42:32.234] npm warn deprecated [email protected]: Rimraf versions prior to v4 are no longer supported [17:42:51.619] [17:42:51.620] added 1637 packages in 1m [17:42:51.620] [17:42:51.620] 425 packages are looking for funding [17:42:51.620] runnpm fund for details [17:42:51.684] Running "npm run build" [17:42:51.802] [17:42:51.802] > [email protected] build [17:42:51.802] > docusaurus build [17:42:51.802] [17:42:52.959] [INFO] [en] Creating an optimized production build... [17:42:53.425] [WARNING] Docusaurus found blog posts without truncation markers: [17:42:53.426] - "blog/spark-architecture/index.md" [17:42:53.426] - "blog/git-coding-agent/index.md" [17:42:53.426] - "blog/ux-ui-design-job/index.md" [17:42:53.426] - "blog/ux-designers-ai/index.md" [17:42:53.426] - "blog/streamline-ux-ui/index.md" [17:42:53.426] - "blog/google-deepmind/index.md" [17:42:53.426] - "blog/google-backlinks/index.md" [17:42:53.426] [17:42:53.426] We recommend using truncation markers (``or{/* truncate */}) in blog posts to create shorter previews on blog paginated lists. [17:42:53.426] Tip: turn this security off with the onUntruncatedBlogPosts: 'ignore' blog plugin option. [17:42:53.952] [info] [webpackbar] Compiling Client [17:42:53.976] [info] [webpackbar] Compiling Server [17:43:58.222] [success] [webpackbar] Server: Compiled with some errors in 1.07m [17:44:36.202] [success] [webpackbar] Client: Compiled with some errors in 1.70m [17:44:36.212] [ERROR] Client bundle compiled with errors therefore further build is impossible. [17:44:36.213] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/accepts/node_modules/mime-types' [17:44:36.213] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.213] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.213] [17:44:36.213] If you want to include a polyfill, you need to: [17:44:36.213] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.213] - install 'path-browserify' [17:44:36.213] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.213] resolve.fallback: { "path": false } [17:44:36.213] [17:44:36.213] -------------------------- [17:44:36.213] [17:44:36.213] Module not found: Error: Can't resolve 'axios' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend/functions' [17:44:36.213] [17:44:36.213] -------------------------- [17:44:36.213] [17:44:36.214] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend/functions' [17:44:36.214] [17:44:36.214] -------------------------- [17:44:36.214] [17:44:36.214] Module not found: Error: Can't resolve 'node-schedule' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend/jobs' [17:44:36.214] [17:44:36.214] -------------------------- [17:44:36.214] [17:44:36.214] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend' [17:44:36.214] [17:44:36.214] -------------------------- [17:44:36.219] [17:44:36.219] Module not found: Error: Can't resolve 'cors' in '/vercel/path0/src/pages/dashboard/Leaderboard_backend' [17:44:36.219] [17:44:36.219] -------------------------- [17:44:36.219] [17:44:36.219] Module not found: Error: Can't resolve 'zlib' in '/vercel/path0/node_modules/body-parser/lib' [17:44:36.219] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.219] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.219] [17:44:36.219] If you want to include a polyfill, you need to: [17:44:36.219] - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }' [17:44:36.219] - install 'browserify-zlib' [17:44:36.219] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.219] resolve.fallback: { "zlib": false } [17:44:36.219] [17:44:36.219] -------------------------- [17:44:36.219] [17:44:36.220] Module not found: Error: Can't resolve 'querystring' in '/vercel/path0/node_modules/body-parser/lib/types' [17:44:36.220] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.220] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.220] [17:44:36.220] If you want to include a polyfill, you need to: [17:44:36.220] - add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }' [17:44:36.220] - install 'querystring-es3' [17:44:36.220] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.220] resolve.fallback: { "querystring": false } [17:44:36.220] [17:44:36.220] -------------------------- [17:44:36.220] [17:44:36.220] Module not found: Error: Can't resolve 'crypto' in '/vercel/path0/node_modules/cookie-signature' [17:44:36.220] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.220] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.220] [17:44:36.220] If you want to include a polyfill, you need to: [17:44:36.220] - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' [17:44:36.220] - install 'crypto-browserify' [17:44:36.220] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.220] resolve.fallback: { "crypto": false } [17:44:36.221] [17:44:36.221] -------------------------- [17:44:36.221] [17:44:36.221] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/destroy' [17:44:36.221] [17:44:36.221] -------------------------- [17:44:36.221] [17:44:36.221] Module not found: Error: Can't resolve 'stream' in '/vercel/path0/node_modules/destroy' [17:44:36.221] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.221] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.221] [17:44:36.221] If you want to include a polyfill, you need to: [17:44:36.221] - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }' [17:44:36.221] - install 'stream-browserify' [17:44:36.221] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.221] resolve.fallback: { "stream": false } [17:44:36.221] [17:44:36.221] -------------------------- [17:44:36.221] [17:44:36.221] Module not found: Error: Can't resolve 'zlib' in '/vercel/path0/node_modules/destroy' [17:44:36.221] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.221] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.222] [17:44:36.222] If you want to include a polyfill, you need to: [17:44:36.222] - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }' [17:44:36.222] - install 'browserify-zlib' [17:44:36.222] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.222] resolve.fallback: { "zlib": false } [17:44:36.222] [17:44:36.222] -------------------------- [17:44:36.222] [17:44:36.222] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/dotenv/lib' [17:44:36.222] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.222] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.222] [17:44:36.222] If you want to include a polyfill, you need to: [17:44:36.222] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.223] - install 'path-browserify' [17:44:36.223] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.223] resolve.fallback: { "path": false } [17:44:36.223] [17:44:36.223] -------------------------- [17:44:36.223] [17:44:36.223] Module not found: Error: Can't resolve 'os' in '/vercel/path0/node_modules/dotenv/lib' [17:44:36.223] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.223] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.223] [17:44:36.224] If you want to include a polyfill, you need to: [17:44:36.224] - add a fallback 'resolve.fallback: { "os": require.resolve("os-browserify/browser") }' [17:44:36.224] - install 'os-browserify' [17:44:36.224] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.224] resolve.fallback: { "os": false } [17:44:36.224] [17:44:36.224] -------------------------- [17:44:36.224] [17:44:36.224] Module not found: Error: Can't resolve 'crypto' in '/vercel/path0/node_modules/dotenv/lib' [17:44:36.224] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.224] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.224] [17:44:36.224] If you want to include a polyfill, you need to: [17:44:36.224] - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' [17:44:36.224] - install 'crypto-browserify' [17:44:36.225] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.225] resolve.fallback: { "crypto": false } [17:44:36.225] [17:44:36.225] -------------------------- [17:44:36.225] [17:44:36.225] Module not found: Error: Can't resolve 'crypto' in '/vercel/path0/node_modules/etag' [17:44:36.225] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.225] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.225] [17:44:36.225] If you want to include a polyfill, you need to: [17:44:36.225] - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' [17:44:36.225] - install 'crypto-browserify' [17:44:36.225] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.225] resolve.fallback: { "crypto": false } [17:44:36.225] [17:44:36.225] -------------------------- [17:44:36.225] [17:44:36.225] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/etag' [17:44:36.225] [17:44:36.225] -------------------------- [17:44:36.225] [17:44:36.225] Module not found: Error: Can't resolve 'http' in '/vercel/path0/node_modules/express/lib' [17:44:36.225] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.226] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.226] [17:44:36.226] If you want to include a polyfill, you need to: [17:44:36.226] - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' [17:44:36.226] - install 'stream-http' [17:44:36.226] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.226] resolve.fallback: { "http": false } [17:44:36.226] [17:44:36.226] -------------------------- [17:44:36.226] [17:44:36.226] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/express/lib' [17:44:36.226] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.226] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.226] [17:44:36.226] If you want to include a polyfill, you need to: [17:44:36.226] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.226] - install 'path-browserify' [17:44:36.226] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.226] resolve.fallback: { "path": false } [17:44:36.226] [17:44:36.226] -------------------------- [17:44:36.226] [17:44:36.226] Module not found: Error: Can't resolve 'net' in '/vercel/path0/node_modules/express/lib' [17:44:36.226] [17:44:36.227] -------------------------- [17:44:36.227] [17:44:36.227] Module not found: Error: Can't resolve 'http' in '/vercel/path0/node_modules/express/lib' [17:44:36.227] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.227] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.227] [17:44:36.227] If you want to include a polyfill, you need to: [17:44:36.227] - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' [17:44:36.227] - install 'stream-http' [17:44:36.227] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.227] resolve.fallback: { "http": false } [17:44:36.227] [17:44:36.227] -------------------------- [17:44:36.227] [17:44:36.227] Module not found: Error: Can't resolve 'http' in '/vercel/path0/node_modules/express/lib' [17:44:36.227] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.227] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.227] [17:44:36.227] If you want to include a polyfill, you need to: [17:44:36.227] - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' [17:44:36.227] - install 'stream-http' [17:44:36.227] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.227] resolve.fallback: { "http": false } [17:44:36.228] [17:44:36.228] -------------------------- [17:44:36.228] [17:44:36.228] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/express/lib' [17:44:36.228] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.228] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.228] [17:44:36.228] If you want to include a polyfill, you need to: [17:44:36.228] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.228] - install 'path-browserify' [17:44:36.228] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.228] resolve.fallback: { "path": false } [17:44:36.228] [17:44:36.228] -------------------------- [17:44:36.228] [17:44:36.228] Module not found: Error: Can't resolve 'querystring' in '/vercel/path0/node_modules/express/lib' [17:44:36.228] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.228] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.228] [17:44:36.228] If you want to include a polyfill, you need to: [17:44:36.228] - add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }' [17:44:36.228] - install 'querystring-es3' [17:44:36.228] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.229] resolve.fallback: { "querystring": false } [17:44:36.229] [17:44:36.229] -------------------------- [17:44:36.229] [17:44:36.229] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/express/lib' [17:44:36.229] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.229] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.229] [17:44:36.229] If you want to include a polyfill, you need to: [17:44:36.229] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.229] - install 'path-browserify' [17:44:36.229] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.229] resolve.fallback: { "path": false } [17:44:36.229] [17:44:36.229] -------------------------- [17:44:36.229] [17:44:36.229] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/express/lib' [17:44:36.229] [17:44:36.229] -------------------------- [17:44:36.229] [17:44:36.229] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/express/node_modules/content-disposition' [17:44:36.229] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.229] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.230] [17:44:36.230] If you want to include a polyfill, you need to: [17:44:36.230] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.230] - install 'path-browserify' [17:44:36.230] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.230] resolve.fallback: { "path": false } [17:44:36.230] [17:44:36.230] -------------------------- [17:44:36.230] [17:44:36.230] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/mime' [17:44:36.230] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.230] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.230] [17:44:36.230] If you want to include a polyfill, you need to: [17:44:36.230] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.230] - install 'path-browserify' [17:44:36.230] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.230] resolve.fallback: { "path": false } [17:44:36.230] [17:44:36.231] -------------------------- [17:44:36.231] [17:44:36.231] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/mime' [17:44:36.231] [17:44:36.231] -------------------------- [17:44:36.231] [17:44:36.232] Module not found: Error: Can't resolve 'url' in '/vercel/path0/node_modules/parseurl' [17:44:36.232] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.232] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.232] [17:44:36.232] If you want to include a polyfill, you need to: [17:44:36.232] - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }' [17:44:36.232] - install 'url' [17:44:36.232] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.232] resolve.fallback: { "url": false } [17:44:36.232] [17:44:36.232] -------------------------- [17:44:36.232] [17:44:36.232] Module not found: Error: Can't resolve 'fs' in '/vercel/path0/node_modules/send' [17:44:36.232] [17:44:36.232] -------------------------- [17:44:36.232] [17:44:36.232] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/send' [17:44:36.232] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.232] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.232] [17:44:36.233] If you want to include a polyfill, you need to: [17:44:36.233] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.233] - install 'path-browserify' [17:44:36.233] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.233] resolve.fallback: { "path": false } [17:44:36.233] [17:44:36.233] -------------------------- [17:44:36.233] [17:44:36.233] Module not found: Error: Can't resolve 'stream' in '/vercel/path0/node_modules/send' [17:44:36.233] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.233] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.233] [17:44:36.233] If you want to include a polyfill, you need to: [17:44:36.233] - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }' [17:44:36.233] - install 'stream-browserify' [17:44:36.233] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.233] resolve.fallback: { "stream": false } [17:44:36.233] [17:44:36.233] -------------------------- [17:44:36.233] [17:44:36.234] Module not found: Error: Can't resolve 'util' in '/vercel/path0/node_modules/send' [17:44:36.234] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.234] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.234] [17:44:36.234] If you want to include a polyfill, you need to: [17:44:36.234] - add a fallback 'resolve.fallback: { "util": require.resolve("util/") }' [17:44:36.234] - install 'util' [17:44:36.234] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.234] resolve.fallback: { "util": false } [17:44:36.234] [17:44:36.234] -------------------------- [17:44:36.234] [17:44:36.234] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/serve-static' [17:44:36.234] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.234] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.234] [17:44:36.234] If you want to include a polyfill, you need to: [17:44:36.234] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.234] - install 'path-browserify' [17:44:36.234] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.235] resolve.fallback: { "path": false } [17:44:36.235] [17:44:36.235] -------------------------- [17:44:36.235] [17:44:36.235] Module not found: Error: Can't resolve 'url' in '/vercel/path0/node_modules/serve-static' [17:44:36.235] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.235] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.235] [17:44:36.235] If you want to include a polyfill, you need to: [17:44:36.235] - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }' [17:44:36.235] - install 'url' [17:44:36.235] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.235] resolve.fallback: { "url": false } [17:44:36.235] [17:44:36.235] -------------------------- [17:44:36.235] [17:44:36.235] Module not found: Error: Can't resolve 'path' in '/vercel/path0/node_modules/type-is/node_modules/mime-types' [17:44:36.235] BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. [17:44:36.235] This is no longer the case. Verify if you need this module and configure a polyfill for it. [17:44:36.235] [17:44:36.236] If you want to include a polyfill, you need to: [17:44:36.236] - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' [17:44:36.236] - install 'path-browserify' [17:44:36.236] If you don't want to include a polyfill, you can use an empty module like this: [17:44:36.236] resolve.fallback: { "path": false } [17:44:36.321] Error: Command "npm run build" exited with 1

I appreciate your effort on this, maybe this will be the last bug

Hi @sanjay-kv , did you take n this from my fork link that i mentioned ?

@Adez017
Copy link
Member Author

Adez017 commented Sep 15, 2025

Hi @sanjay-kv , @iitzIrFan , i think there is any confusion. after seeing the logs i think you had tried this PR but actually i had made the changes in a new branch in a my fork with branch as leaderboard-dashboard.

@Adez017
Copy link
Member Author

Adez017 commented Sep 15, 2025

let me open the fresh PR with the changes . @sanjay-kv @iitzIrFan

@sanjay-kv
Copy link
Member

@Adez017

so this PR we are not using if im right?

@iitzIrFan
Copy link
Member

@Adez017

so this PR we are not using if im right?

Yeah you can close this one as he had opened fresh one for it.

@sanjay-kv sanjay-kv closed this Sep 15, 2025
@github-project-automation github-project-automation bot moved this from In Progress to Done in @recode-web Sep 15, 2025
@Adez017 Adez017 deleted the testimonies branch September 17, 2025 03:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

don't-merge faced conflict issue or other dev related issue, dont merge PR gssoc25 level 3 50 points under review Review under the maintainers or the admins

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

The Leaderboard

3 participants