• 카테고리

    질문 & 답변
  • 세부 분야

    풀스택

  • 해결 여부

    미해결

첫 화면이 이상합니다.

21.05.01 19:42 작성 조회수 298

0

./src/_reducers/user_reducer.js

  Line 11:13:  Unreachable code  no-unreachable

  Line 14:13:  Unreachable code  no-unreachable

  Line 17:13:  Unreachable code  no-unreachable

./src/hoc/auth.js

  Line 2:8:    'Axios' is defined but never used                                                                                                  no-unused-vars

  Line 33:12:  React Hook useEffect has missing dependencies: 'dispatch' and 'props.history'. Either include them or remove the dependency array  react-hooks/exhaustive-deps

./src/components/views/LoginPage/LoginPage.js

  Line 2:8:  'Axios' is defined but never used  no-unused-vars

./src/components/views/RegisterPage/RegisterPage.js

  Line 4:8:  'Axios' is defined but never used  no-unused-vars

./src/App.js

  Line 6:3:  'Link' is defined but never used  no-unused-vars

Search for the keywords to learn more about each warning.

To ignore, add // eslint-disable-next-line to the line before.

[HPM] Error occurred while trying to proxy request /api/hello from localhost:3001 to http://localhost:5000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

[HPM] Error occurred while trying to proxy request /api/users/auth from localhost:3001 to http://localhost:5000 (ECONNREFUSED) (https://nodejs.org/api/errors.html#errors_common_system_errors)

터미널에 이렇게 뜨면서 시작을 하고

시작페이지와 버튼만 출력됩니다.

답변 1

답변을 작성해보세요.

0

dnfwlxo11님의 프로필

dnfwlxo11

2021.05.06

클론코딩 끝 부분보시면 아시겠지만 boilerplate에 navbar 부분과 footer 부분이 구현되어 있지않아 같은 모습으로는 나오지 않습니다. 그렇게 나오는게 정상이에요