본문 바로가기

기술자료

Can't resolve 'lodash.clonedeep' 해결방법

반응형

 

yarn add lodash --save-dev

추가 했으나 동일하게 오류 발생...

Module not found: Error: Can't resolve 'lodash.clonedeep' in 'C:\front\_ui\src\routes\MaterialManagementPage'
ERROR in ./src/routes/MaterialManagementPage/MaterialManagementPage.tsx 7:0-41
Module not found: Error: Can't resolve 'lodash.clonedeep' in 'C:\front\_ui\src\routes\MaterialManagementPage'

webpack compiled with 1 error
Files successfully emitted, waiting for typecheck results...

 

아래 명령어 실행 후 정상 처리됨...

yarn add lodash.clonedeep --save-dev

 

반응형