Node
-
TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received type undefined raised when starting react appNode 2021. 4. 27. 19:52
TypeError [ERR_INVALID_ARG_TYPE]: The “path” argument must be of type string. Received type undefined raised when starting react app 라는 메시지와 함께 나를 당황시켰지만.. 검색을 통해 알아본 결과 build를 위해 yarn upgrade와 install 을 새롭게 한 것이 원인인 것 같다 정확히 어떤 문제인지는 모르지만 react-script 의 버전에 관련된 문제가 발생하는 것 으로 보이고 해결하기 위해 StackOverflow에서 찾은 해결방법 node_modules\ 를 삭제한다. package-lock.json file을 삭제한다. (필자는 이 부분을 생략 했다. 사실 문제 해결할 때 이 s..