| 일 | 월 | 화 | 수 | 목 | 금 | 토 | 
|---|---|---|---|---|---|---|
| 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
                            
                        
                          
                          - antd
- axios
- form
- Download
- 시멘틱태그
- 이미지
- 리액트기초
- 리액트
- NeXT
- 프론트엔드개발
- FRONT
- develop
- err
- Package
- error
- TradingVIew
- JavaScript
- type
- Chart
- CSS
- VUE
- 프론트엔드
- react
- vue-cli-service
- components
- npm
- frontend
- 상태관리
- useState
- vscode
                            Archives
                            
                        
                          
                          - Today
- Total
개발쬬
[Vue Error] npm run serve 오류 vue-cli-service: command not found 본문
반응형
    
    
    
  git clone 을 실행하고
npm run serve 를 실행했는데 해당 오류가 발생했다.

sh: vue-cli-service: command not found
npm ERR! code ELIFECYCLE
npm ERR! syscall spawn
npm ERR! file sh
npm ERR! errno ENOENT
npm ERR! chart@0.1.0 serve: `vue-cli-service serve`
npm ERR! spawn ENOENT
npm ERR!
npm ERR! Failed at the chart@0.1.0 serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm WARN Local package.json exists, but node_modules missing, did you mean to install?
npm ERR! A complete log of this run can be found in:
이렇게 에러가 뜨는 경우는 업데이트 되어있는 패키지를 설치하지 않았을 경우 뜨는 경우가 많기때문에,
터미널에 npm ci 를 입력 하면 정상적으로 실행 할 수 있다!
반응형
    
    
    
  '쬬는 개발중' 카테고리의 다른 글
| Uncaught SyntaxError: Unexpected token '<' 해결하기 (0) | 2023.06.24 | 
|---|---|
| 요즘 인기있는 npm 패키지/라이브러리를 비교할 수 있는 사이트, npm trends (0) | 2023.06.24 | 
| [javascript] 모바일 검색창 숨기기 기능 구현 (터치 떨림 보정) (1) | 2023.01.30 | 
| masonry / infinite scroll / imagesLoaded 활용하여 핀터레스트 | 네이버 이미지 리스트화면 구현하기 (0) | 2022.12.09 | 
| [axios] 엑셀 파일 다운로드 기능 구현하기 (0) | 2022.12.04 | 
 
                   
                   
                  