리액트 에러 (1) 썸네일형 리스트형 [리액트 @babel/runtime 에러] Module not found: Can't resolve '/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/createForOfIteratorHelper' 해결법 리액트 @babel/runtime 에러 Module not found: Can't resolve '/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/createForOfIteratorHelper' 갑자기 리액트 npm, yarn 실행이 다 안되고 위와 같은 에러만 뜨길래 당황했다. 로컬 서버는 뜨는데 그냥 하얗게 백지만 나오더라. 구글링해보니 다음 글을 보고 해결할 수 있었음. 리액트 @babel/runtime 해결법 다음과 같이 명령어를 치고 @babel/runtime을 설치한다. yarn add @babel/runtime 설치 후 .babelrc 파일 내 다음과 같은 내용을 넣는다. "presets": [ ["react-.. 이전 1 다음