728x90
vue 셋팅 후 npm ryn serve 첫 실행 시 아래 오류가 떴다
PS C:\Project\test> npm run serve
npm ERR! code ENOENT
npm ERR! errno -4058
npm ERR! enoent ENOENT: no such file or directory, open 'C:\Project\test\package.json'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
알고보니 경로가 package.json이 있는 경로의 상위 폴더 였음
-> 경로 재설정 후 npm run serve하니 정상 실행됨
728x90
'vue.js' 카테고리의 다른 글
| vue.js : string , html 데이터바인딩 (단방향) (0) | 2022.12.14 |
|---|---|
| vue.js user snippets 추가하기 (0) | 2022.12.14 |
| vue.js : router 개념 및 사용방법, prepatch (0) | 2022.12.13 |
| Vue.js 파일, component, router 구조 (0) | 2022.12.13 |
| VSCode Vue.js 프로젝트 생성 및 환경설정 (0) | 2022.12.12 |