Repository navigation
fix: windows path issue - #340
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
|
Reviewer's Guide by SourceryThis pull request addresses a Windows path issue by introducing a new utility function File-Level Changes
Tips
|
There was a problem hiding this comment.
Hey @anuragxxd - I've reviewed your changes - here's some feedback:
Overall Comments:
- Consider adopting a more comprehensive path normalization solution that handles edge cases (e.g., UNC paths) and apply it consistently throughout the codebase. Libraries like
path-browserifyornormalize-pathmight be worth exploring for a robust, well-tested approach.
Here's what I looked at during the review
- 🟡 General issues: 2 issues found
- 🟢 Security: all looks good
- 🟢 Testing: all looks good
- 🟢 Complexity: all looks good
- 🟢 Documentation: all looks good
Help me be more useful! Please click 👍 or 👎 on each comment to tell me if it was helpful.
Co-authored-by: salihuDickson <[email protected]>
|
@sivangbagri, i've just pushed a fix for the issue you've been having, please check if it works. |
|
Hii @salihudickson thanks for this but I am still facing the same error on building the design packages |
|
@sivangbagri, taking a look at the error now it seems this might be an issue with your node version. Please check it and if the version is lower than 18 then update it and rerun the dev script. I'll also add that as an engine requirement in the packageJson |
|
@salihudickson I am currently on node 22.5.1 and npm version 10.8.2 , so I dont think thats the case... |
|
@sivangbagri, from the error code it seems that your node version does not understand the If the above stated is not the case then can we perhaps schedule a video call for today or tomorrow so that I can get real-time feedback, while I try to fix this. And can you try building on your windows machine (not WSL), I've tried on mine and it seems to work fine, but I need a second opinion. |

Description
Fixes #(issue)
Checklist
Comments
Summary by Sourcery
This pull request addresses a path issue on Windows by introducing a new utility function
normalizePathto ensure consistent use of POSIX path separators. The function is applied to relevant file paths in the build script to prevent errors related to path inconsistencies.normalizePathto handle path normalization across different operating systems.