인프런 커뮤니티 질문&답변

pok_lu님의 프로필 이미지

작성한 질문수

따라하며 배우는 노드, 리액트 시리즈 - 기본 강의

노드 리액트 기초 강의 #21 데이터 Flow & Axios

ㅇㅗ류

20.11.19 21:09 작성

·

152

0

Error: Route.get() requires a callback function but got a [object Object]

    at Route.<computed> [as get] (/Users/hyemin/Downloads/react-hyemin/node_modules/express/lib/router/route.js:202:15)

    at Function.app.<computed> [as get] (/Users/hyemin/Downloads/react-hyemin/node_modules/express/lib/application.js:482:19)

    at Object.<anonymous> (/Users/hyemin/Downloads/react-hyemin/index.js:84:5)

    at Module._compile (node:internal/modules/cjs/loader:1083:30)

    at Object.Module._extensions..js (node:internal/modules/cjs/loader:1112:10)

    at Module.load (node:internal/modules/cjs/loader:948:32)

    at Function.Module._load (node:internal/modules/cjs/loader:789:14)

    at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:72:12)

    at node:internal/main/run_main_module:17:47

[nodemon] app crashed - waiting for file changes before starting...

답변 1

0

pok_lu님의 프로필 이미지
pok_lu
질문자

2020. 11. 19. 21:10

노드몬은 설치되어있습니다.

pok_lu님의 프로필 이미지

작성한 질문수

질문하기