일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
Tags
- 설정
- 추천 사이트
- 순서 보장
- BindingResult
- 룸북
- 리눅스
- Test 룸북 사용하기
- 타임리프와 스프링
- 프로젝트 클린
- 개발시작전 자세
- it
- Java
- 다른사람 프로젝트 수정전 가져야할 자세
- 명령어
- 추천 프로그램
- 함수 인자값 id
- 스프링부트
- StringUtils.hasText
- 시퀀스 조회
- #{..}
- select
- 비밀번호 변경 명령어
- linux
- cmd
- 자바스크립트 인라인
- Intellij
- JSON
- 하모니카 OS 5
- 타임리프
- js
Archives
- Today
- Total
웹개발 블로그
[React/에러] Module not found: Error: Can't resolve 'web-vitals' in 본문
◆React.js & Next.js & Node.js/에러
[React/에러] Module not found: Error: Can't resolve 'web-vitals' in
쿠키린 2025. 1. 20. 10:01에러 메시지
Module not found: Error: Can't resolve 'web-vitals' in 'D:\경로'
원인
경로의 해당 모듈을 찾을 수 없다는 오류였다.
해결책
npm i web-vitals --save-dev
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
I'm getting the error: 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...
stackoverflow.com
https://bobbyhadz.com/blog/react-module-not-found-cant-resolve-web-vitals
Module not found: Can't resolve 'web-vitals' (React) | bobbyhadz
To solve the error Module not found: Error: Can't resolve 'web-vitals', install the `web-vitals` package.
bobbyhadz.com
확인
package.json에 web-vitals 패키지가 추가된것을 알 수 있다.
'◆React.js & Next.js & Node.js > 에러' 카테고리의 다른 글
[JS] (에러) require is not defined in ES module scope, you can use import instead 경로 (0) | 2025.01.26 |
---|---|
[에러] reportWebVitals.js (0) | 2024.12.17 |