본문 바로가기
웹개발/잡다한

[React 에러] TypeError: Cannot read property 'tap' of undefined

by julysein 2020. 11. 10.
728x90

npm ruv dev를 했는데 

TypeError: Cannot read property 'tap' of undefined 다음과 같은 에러가 났다.

webpack이랑 next의 버전이 맞지 않아 생기는 에러였다. 

 

webpack을 삭제해주고

npm uninstall webpack

낮은 버전으로 다시 설치해줬다.

npm install webpack@4.20.2

728x90