npm install heapdump 시에 node-gyp build 오류가 발생을 하게 될 경우 처리 방법
- cmd 를 관리자 권한으로 시작
- node 가 설치 된 디렉토리로 이동
- npm install --global --production windows-build-tools
- heapdump 를 install 한다.
- 참조 사이트
https://github.com/nodejs/node-gyp#on-windows
nodejs/node-gyp
Node.js native addon build tool. Contribute to nodejs/node-gyp development by creating an account on GitHub.
github.com
위 사이트에서 'Option 1' 부분을 참고한다.