README.md 687 Bytes
Newer Older
김현기 committed
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
# Node.js 설치
## 설치
- curl -sL https://deb.nodesource.com/setup_8.x | sudo -E bash - 
- sudo apt-get update
- sudo apt-get install -y nodejs build-essential 

## 프로젝트 실행 안될 경우
- 프로젝트 폴더/ rm -rf node_modules
- 프로젝트 폴더/ npm install

## NPM 이상 있을 경우
- sudo npm  cache clean --force
- Sudo npm install –g n
- sudo n stable
- sudo npm install –g npm
* 참고 : https://d2fault.github.io/2018/04/30/20180430-install-and-upgrade-nodejs-or-npm/ 

## 버전확인
- Node : node.js  -v 
- NPM  : npm –v 

## Vue 설치
- sudo npm install -g @vue/cli 

## cache 삭제
- sudo npm cache verify
- sudo npm cache clean --force

test