You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Module not found: Error: Can't resolve 'fs' in pathto...Node_Modules\dotenv\main.js ..
Note: This error does not happen when running on my local Pc.
Here's the screenshot from running the same app on replit:
I conducted a short search and found this answer, which helped me repair issue by modifying the "./node modules/dotenv/Package.json" file.
It worked, the error was fixed!, but I don't understand why ?!😂, so I'm guessing this is a problem that the dotenv community has to fix to avoid hacks like these.
The text was updated successfully, but these errors were encountered:
When I start the frontend:
I get:
Note:
This error does not happen when running on my local Pc.
Here's the screenshot from running the same app on replit:
I conducted a short search and found this answer, which helped me repair issue by modifying the "./node modules/dotenv/Package.json" file.
It worked, the error was fixed!, but I don't understand why ?!😂, so I'm guessing this is a problem that the dotenv community has to fix to avoid hacks like these.
The text was updated successfully, but these errors were encountered: