TypeError: Cannot read property 'prototype' of undefined
문제는 이 놈이였다. vscode가 import문을 자동완성으로 집어넣은 것 이다. 왜 json과 response을 import하면 안되는 가?
expess와 body-parser는 node.js 부분을 위한 모듈인데 메소드처럼 꺼내서 쓸 수 없었기 때문이다.