반응형
리눅스 node.js 초기설정 npm init
<npm init>
npm init 명령어는 node 프로그램을 시작(initialize)하는 명령어로 package.json 파일을 생성을 돕습니다. package.json 파일은 해당 node 프로그램에 대한 기본 정보를 담고 있는 파일입니다.
npm init 엔터
위와 같이 init를 함으로써 package.json을 제일 먼제 만들어줘야 합니다.
반응형
'IT > nodejs' 카테고리의 다른 글
nodejs 해결방법 /phantomjs: error while loading shared libraries: libfontconfig.so.1: cannot open shared object file: No such file or directory (0) | 2016.10.12 |
---|---|
리눅스 node.js express 모듈설치 (0) | 2016.10.11 |
node.js 웹서버 만들기 (0) | 2016.10.11 |
리눅스 node.js 설치 (0) | 2016.10.11 |