Resolve Cross-OS Vite Build

Job ID: 40280520

Budget: ₹600 – ₹1,500 INR

I have a React + Vite app living in a Lerna monorepo. On Windows everything bundles perfectly, but the moment I run the very same build command on Ubuntu it throws:

[vite:load-fallback] Could not load /src/screens/Applicant/newAge/applications/newAgeApplication (imported by src/common/Routingdata.jsx): ENOENT: no such file or directory

Clearly the module is there, so the issue sits in how the two operating systems resolve paths inside the monorepo.

Both platforms must compile successfully from the same branch without me adding OS-specific hacks. There are known differences between my Windows and Linux setup—environment variables, path casing/posix-style slashes, and possibly a few dependency version mismatches—so expect to review and normalise those areas. Lerna-related scripts may also need tweaks.

What I need from you:
• Diagnose the root cause of the Ubuntu failure.
• Patch the repo (or Vite/Lerna config) so yarn workspace build runs cleanly on Windows and Linux alike.
• Document the changes in the README so future contributors understand the fix.

If you are comfortable diving into monorepos, Vite’s resolver, and cross-platform shell scripting, I would love your help.