sign / translate

Effortless Real-Time Sign Language Translation
https://sign.mt
Other
414 stars 74 forks source link

[BUG] <Project Execution on Mac and Windows: Heap Memory Error> #156

Closed HarshalSinghSolanki closed 2 months ago

HarshalSinghSolanki commented 2 months ago

Current Behavior

Hello sir, I've been going through the previous raised issues to increase my knowledge, but it seems they're a bit too advanced for me to grasp. I have a MacBook and a Windows PC. I attempted to run your project on my MacBook, but whenever I use 'npm install', I keep encountering this error: "FATAL ERROR: Reached heap limit allocation failed - JavaScript heap out of memory." On the PC, everything seems fine until I reach the testing phase. When I use 'npm test', it opens a browser window and says "Chrome 124.0.0.0 (Windows 10) is idle," which I assume is expected behavior. However, I'm facing issues when trying to execute the next set of commands to run the application. Could it be a problem with my IDE? Do I need to switch to Visual Studio? I just want to run this application in either my Mac or my PC.

AmitMY commented 2 months ago

npm install should work. If you get a "FATAL ERROR: Reached heap limit allocation failed - JavaScript heap out of memory." that is actually a problem with npm, not this project.

I recommend you try to use bun, and then bun install instead.

Also, for future issues please fill in the issue template, otherwise issues might be closed.