this error message can be shown from different situations. literally not enabling it from your web browser could and etc.
but in my case, it was caused because i was running only react app not the server.js file with npm.
I know it sounds stupid but...thats me I guess.
so when I follow youtube tutorial, they mostly shoot 1-2h long video it at once.
And i play it time to time, pause it and continue, i forgot how should i be running the server.
in the current one, the instructor turned on 3 terminals on VS code.
first one to run : nodemon server
second to run : nodemon start (to start react app, the frontend)
third one for package installing and rest of tasks
//sketch
starting react app does not run my dynamic server, as when I turn on react app typing npm start
i should run npm server!! so that it makes request
but in my case, it was caused because i was running only react app not the server.js file with npm.
I know it sounds stupid but...thats me I guess.
so when I follow youtube tutorial, they mostly shoot 1-2h long video it at once.
And i play it time to time, pause it and continue, i forgot how should i be running the server.
in the current one, the instructor turned on 3 terminals on VS code.
first one to run : nodemon server
second to run : nodemon start (to start react app, the frontend)
third one for package installing and rest of tasks
//sketch
starting react app does not run my dynamic server, as when I turn on react app typing npm start
i should run npm server!! so that it makes request
댓글
댓글 쓰기