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