프론트엔드/리액트
Module not found: Can't resolve 'web-vitals'
1005ptr
2021. 8. 20. 05:19
반응형
이 버그를 잡고 왔는데 npm start를 하려니까 이 버그가 난다.
https://qodbtn.tistory.com/375
Couldn't find a package.json file
VSCode에서 폴더 새로 하나따서 create-react-app을 하는데 에러가 뜬다. npm init yarn init 을 하란다. 하고나니 프로젝트 생성이 됐다. https://m.blog.naver.com/10hsb04/221729909059 [Visual Studio] react..
qodbtn.tistory.com
패키지가 꼬였다는거 같고 하라는대로 하니까 잘 된다.
https://stackoverflow.com/questions/65396568/react-js-npm-start-shows-failed-to-compile-web-vitals
React JS npm start shows failed to compile web-vitals
failed to compile -/src/reportWebVitals.js Module not found: Can't resolve 'web-vitals'. Since new to react JS, could not find what happened. Here is the reportWebVitals.JS file. Thanks in advance...
stackoverflow.com
반응형