bug: Disable Login Requirement During Development Phase Due to Authentication Issues and Local Database on the `LessonView`
Describe the bug When users visit https://projects.100xdevs.com/ and browse through the posts, they are required to log in, which is understandable for the production environment. However, during the development phase, this requirement is not practical since the application is running on a local development database. Additionally, the Google login is not functioning correctly in the development setup, likely because the authentication route isn't configured for localhost:3000. It would be beneficial to remove the login requirement during the development phase.
To Reproduce Steps to reproduce the behavior:
- Go to https://projects.100xdevs.com/ without logging in, or use incognito mode.
- Open any article.
- Navigate to page 2 or beyond.
- You will encounter the Login Dialog, even in the development setup.
Expected behavior The login requirement should be disabled during the development phase, as it does not serve a useful purpose.
Screenshots or GIFs
If applicable, add screenshots to help explain your problem.
Info (please complete the following information):
- Browser [e.g. chrome, safari]
- Version [e.g. 22]
Additional context Add any other context about the problem here.
sorry for offtopic question
im getting this error after running the repo please help, not able to run the code due to this error
@ayesparshh This happens many times just try take latest pull remove package-lock.json and node_modules
rm -rf node_modules
rm package-lock.json
and
npm install
Essentially, MODULE_NOT_FOUND indicates an issue with your node_modules. This repository uses yarn, so please use yarn.
If you encounter any issues, follow @t007rushi 's advice: first, remove node_modules, pull the latest updates, and then run yarn
it did worked thanks @SOUMITRO-SAHA @t007rushi