Node.js res.send is not a function
2023. 2. 6. 11:00ㆍ웹개발/에러
결론: req다음 res여아 함
app.get('/', function(req, res) {
res.send("Rendering file")
}
과정:
너무 어이없는 에러였다
res, req로 써서 뜬 에러
요청 + 받기 순서
728x90
'웹개발 > 에러' 카테고리의 다른 글
Error: Can't set headers after they are sent to the client (0) | 2023.02.06 |
---|---|
ER_PARSE_ERROR (0) | 2022.12.14 |
UserNotFound: Could not find user "root" for db "admin" mongodb (1) | 2022.12.14 |
E: Unable to locate package (0) | 2022.09.02 |
Git error: RPC failed; HTTP 413 curl 22 The requested URL returned error: 413 (0) | 2022.09.01 |