본문 바로가기

Web & Server/[Back-end] Node.js

express 4.x 설치

https://www.npmjs.com/package/express

2.x와 3.x 버젼이 deprecated되면서 4.x로 upgrade 완료.



먼저 AWS console에서 3000번과 3333번 port를 Security Group으로 설정해줌.

express 4.x 부터 실행을 node app.js 가 아닌 npm start로 바뀜.


express로 만들고, npm install -> npm start 하면 됨...

npm install을 실행하지 않으면 오류로 시작이 안됨.

'Web & Server > [Back-end] Node.js' 카테고리의 다른 글

AWS EC2 와 MySQL Workbench(5.7) 연결 설정  (0) 2015.11.02
ubuntu에 Node.js 설치 & test  (0) 2015.10.27