npm install , npm run serve 실행시 에러메세지
3193
7 asked
에러메세지는 아래와 같습니다.
PS C:\Users\esc0\Desktop\saju\saju-frontend-vuejs> npm install
npm ERR! code ERESOLVE
npm ERR! ERESOLVE could not resolve
npm ERR!
npm ERR! While resolving: @vue/cli-plugin-eslint@5.0.8
npm ERR! Found: eslint@6.8.0
npm ERR! node_modules/eslint
npm ERR! dev eslint@"^6.7.2" from the root project
npm ERR! peer eslint@">= 4.12.1" from babel-eslint@10.1.0
npm ERR! node_modules/babel-eslint
npm ERR! dev babel-eslint@"^10.1.0" from the root project
npm ERR! 2 more (eslint-plugin-vue, vue-eslint-parser)
npm ERR!
npm ERR! Could not resolve dependency:
npm ERR! peer eslint@">=7.5.0" from @vue/cli-plugin-eslint@5.0.8
npm ERR! node_modules/@vue/cli-plugin-eslint
npm ERR! dev @vue/cli-plugin-eslint@"^5.0.8" from the root project
npm ERR!
npm ERR! Conflicting peer dependency: eslint@8.33.0
npm ERR! node_modules/eslint
npm ERR! peer eslint@">=7.5.0" from @vue/cli-plugin-eslint@5.0.8
npm ERR! node_modules/@vue/cli-plugin-eslint
npm ERR! dev @vue/cli-plugin-eslint@"^5.0.8" from the root project
npm ERR!
npm ERR! Fix the upstream dependency conflict, or retry
npm ERR! this command with --force or --legacy-peer-deps
npm ERR! to accept an incorrect (and potentially broken) dependency resolution.
npm ERR!
npm ERR!
npm ERR! For a full report see:
npm ERR! C:\Users\esc0\AppData\Local\npm-cache\_logs\2023-02-09T13_43_38_155Z-eresolve-report.txt
npm ERR! A complete log of this run can be found in:
npm ERR! C:\Users\esc0\AppData\Local\npm-cache\_logs\2023-02-09T13_43_38_155Z-debug-0.log
PS C:\Users\esc0\Desktop\saju\saju-frontend-vuejs>
PS C:\Users\esc0\Desktop\saju\saju-frontend-vuejs> npm run serve
> saju-frontend-vuejs@0.1.0 serve
> vue-cli-service serve
INFO Starting development server...
ERROR Failed to compile with 2 errors 오후 10:47:30
[eslint] ESLint is not a constructor
You may use special comments to disable some warnings.
Use // eslint-disable-next-line to ignore the next line.
Use /* eslint-disable */ to ignore all warnings in a file.
Error: Child compilation failed:
[eslint] ESLint is not a constructor
- child-compiler.js:169
[saju-frontend-vuejs]/[html-webpack-plugin]/lib/child-compiler.js:169:18
- Compiler.js:551 finalCallback
[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:551:5
- Compiler.js:577
[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:577:11
- Compiler.js:1196
[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:1196:17
- task_queues:95 processTicksAndRejections
node:internal/process/task_queues:95:5
- task_queues:64 runNextTicks
node:internal/process/task_queues:64:3
- timers:447 process.processImmediate
node:internal/timers:447:9
ERROR in [eslint] ESLint is not a constructor
ERROR in Error: Child compilation failed:
[eslint] ESLint is not a constructor
- child-compiler.js:169
[saju-frontend-vuejs]/[html-webpack-plugin]/lib/child-compiler.js:169:18
- Compiler.js:551 finalCallback
[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:551:5
- Compiler.js:577
[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:577:11
- Compiler.js:1196
[saju-frontend-vuejs]/[webpack]/lib/Compiler.js:1196:17
- task_queues:95 processTicksAndRejections
node:internal/process/task_queues:95:5
- task_queues:64 runNextTicks
node:internal/process/task_queues:64:3
- timers:447 process.processImmediate
node:internal/timers:447:9
1 ERROR in child compilations (Use 'stats.children: true' resp. '--stats-children' for more details)
webpack compiled with 3 errors
Answer 1
0
안녕하세요. 아래 3가지 방법을 시도 해 볼 수 있습니다.
컴퓨터 재시작 후 다시 npm install, npm run serve 실행
vuejs 소스 코드를 다시 다운로드 후 npm install, npm run serve 실행
node -v 확인 : 기존 node 삭제 후 v16.13.2 버전으로 다시 다운로드 후 실행
aws build 할때
0
299
1
frontend 배포 보안
0
540
3
frontend code pipeline
0
275
1
Front CloudFront
0
271
2
s3 배포
0
377
2
대상 그룹 생성
0
196
1
front end 배포
0
240
1
Backend 로드밸런싱
0
439
2
Frontend 로드밸런싱
0
333
2
프론트엔드빌드
0
234
2
RDS 셋팅
0
243
2
rds 스케일업
0
310
1
스케일아웃, 스케일 인
0
353
3
운영 DB 연결 테스트 (npm run start) 에러
0
235
1
1-4) 운영 DB 연결 테스트 에서 rds 연결에러
0
686
1
ecs 에서 아래와 같은 에러가 발생합니다.
0
388
1
Health Check 시간
1
415
1
Aurora 대신 DynamoDB를 사용해도 되는지요?
0
345
1
AWS riuter 53
0
274
1
(3) 백엔드 production 버전으로 실행 "npm run start" 실행 시 에러 메제시
0
555
3
3-3) 대상 그룹 생성 관련 문의
0
402
1
3-6 ecs 클러스터 생성 시
0
403
1
서비스 생성시 시크릿메니저 접근 오류
0
842
2
서버리스 람다
0
264
1

