0. node.js의 mssql모듈 설치

npm install -g mssql mssql 모듈을 설치한다.

1. DB연결정보 설정

DB연결 정보를 입력한다.


2. Connection Pool 생성

DB에 접속하기 위한 COnnection Pool을 생성한다.


3. Procedure 실행

실행할 Procedure의 input값과 output값을 입력해 준다.

1. 개발환경 구축

Node.js, npm 설치

https://nodejs.org/ko/


Atom Editor 설치

https://atom.io/

관련 추가 패키지 설치
- atom-icons
- filecolor
- icon-fonts
- language-ejs
- prettier-atom


2.


1. 문제

Yo express grunt 시 오류 발생

기본적으로 gruntfile이 자동으로 생성이 된다.

하지만 무엇이 문제인지 오류가 발생하였다.


오류내용

grunt-cli: The grunt command line interface (v1.3.1)


Fatal error: Unable to find local grunt.


If you're seeing this message, grunt hasn't been installed locally to

your project. For more information about installing and configuring grunt,

please see the Getting Started guide:


https://gruntjs.com/getting-started

grunt-cli가 문제가 됨


2. 해결

grunt가 설치된 폴더로 이동한다.

grunt를 재 설치해 준다.


명령어

npm install grunt --save-dev


문제가 해결되고 grunt명령어가 작동한다.


'프로그래밍 > node.js' 카테고리의 다른 글

[Node.js] MSSQL 프로시저 설정하기  (0) 2019.06.18
Express 설치하기  (0) 2018.09.27

+ Recent posts