-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Registration Bug #1
Comments
Hey... thanks for looking into my project.. please share the screenshot of
console tab and the request and response objects in network tab so that I
can help you in fixing this
…On Thu, 13 Apr 2023, 22:14 thewonderworking, ***@***.***> wrote:
Hi! I wanted to take a reference from your project since I am making a
social media website .
When I set up this project in my local machine and I tried to sign up , I
got this issue .
[image: image]
<https://user-images.githubusercontent.com/130493142/231827916-551816d1-0527-438b-91d2-0b2f471208cd.png>
can you help me resolve this issue
Thanking You
—
Reply to this email directly, view it on GitHub
<#1>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN4EBHUKABTANXFBSIAFQZ3XBAUNZANCNFSM6AAAAAAW5KYLEQ>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
Hi @ishantchauhan710 I am also getting the same issue. These are the things that I tried to test the problem:-
|
Hello... thanks for seeing my project... this error seems to be due to
improper project setup... please follow the below steps!
1. Create .env file in backend folder and write PORT=5000 in it
2. In .env, also write NODE_ENV=development
3. In backend/server.js, in const io = {---}'s cors origin object variable,
change the url https://spacefeed.onrender.com to http://localhost:3000
4. In frontend/src/other/constants.js, change SERVER_URL to
https://localhost:5000 and BASE_URL to https://localhost:3000
5. Start the backend server and react app to test the code
Let me know if the error still persists
…On Fri, 14 Apr 2023, 23:34 Sanchit Bajaj, ***@***.***> wrote:
Hi @ishantchauhan710 <https://github.com/ishantchauhan710> I am also
getting the same issue. These are the things that I tried to test the
problem:-
- I saw that you are running both frontend and backend on the same
port, so I tried that part by configuring the backend on some other port.
- also tried to reconfigure the Axios in the frontend but it didn't
work well.
Here is the screenshot of the console tab:-
[image: image]
<https://user-images.githubusercontent.com/55249639/232122849-74bf2fdb-b619-4084-9d47-244277251936.png>
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN4EBHTWGH4U3GU4J6QWPV3XBGGURANCNFSM6AAAAAAW5KYLEQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
Hey, I tried the steps that you mentioned but still not working |
In the 4th point of solution... I accidentally wrote https in SERVER_URL
and BASE_URL... change it to http
…On Mon, 17 Apr 2023, 13:45 Sanchit Bajaj, ***@***.***> wrote:
Hello... thanks for seeing my project... this error seems to be due to
improper project setup... please follow the below steps!
Hey, I tried the steps that you mentioned but still not working
—
Reply to this email directly, view it on GitHub
<#1 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AN4EBHV2BFZO47PQNQSXW2LXBT3ZFANCNFSM6AAAAAAW5KYLEQ>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
I corrected that already |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi! I wanted to take a reference from your project since I am making a social media website .
When I set up this project in my local machine and I tried to sign up , I got this issue .
can you help me resolve this issue
Thanking You
The text was updated successfully, but these errors were encountered: