스페이스바 눌러서 나오는 공백을 입력하면
node:_http_outgoing:652
throw new ERR_HTTP_HEADERS_SENT('set');
^
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
at ServerResponse.setHeader (node:_http_outgoing:652:11)
at ServerResponse.header (D:\20220904-backup\Documents\imitated-seed-2-master\node_modules\express\lib\response.js:794:10)
at ServerResponse.send (D:\20220904-backup\Documents\imitated-seed-2-master\node_modules\express\lib\response.js:174:12)
at IncomingMessage.eval (eval at (D:\20220904-backup\Documents\imitated-seed-2-master\routes\router.js:27:5), :120:8) {
code: 'ERR_HTTP_HEADERS_SENT'
}
스페이스바 눌러서 나오는 공백을 입력하면 node:_http_outgoing:652 throw new ERR_HTTP_HEADERS_SENT('set'); ^
Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client at ServerResponse.setHeader (node:_http_outgoing:652:11) at ServerResponse.header (D:\20220904-backup\Documents\imitated-seed-2-master\node_modules\express\lib\response.js:794:10) at ServerResponse.send (D:\20220904-backup\Documents\imitated-seed-2-master\node_modules\express\lib\response.js:174:12) at IncomingMessage.eval (eval at (D:\20220904-backup\Documents\imitated-seed-2-master\routes\router.js:27:5), :120:8) {
code: 'ERR_HTTP_HEADERS_SENT'
}
Node.js v20.10.0 오류가 뜹니다