-
에러6(.env에러/ELIFECYCLE/this is probably not a problem with npm)JS/vue.js 2022. 3. 15. 18:04
github에서 git clone 한 뒤에
1. npm install 해서 node_modules 설치한다음
2. npm run serve 했더니 다음과 같은 에러 발생
→ .env 파일이 필요해서 발생하는 에러
package.json 이 있는 공간에 .env 파일 생성하면 정상 작동된다.
'JS > vue.js' 카테고리의 다른 글
vue12(vue-router #,/#/ 제거하기) (0) 2022.03.16 vue11(redirect 리다이렉트 ) (0) 2022.03.15 vue10(동적 컴포넌트 component tag / 컴포넌트 갈아끼우기) (0) 2022.03.15 vue9(props,emit) (0) 2022.03.14 vue8(router navigation guard 네비게이션 가드) (0) 2022.03.14