끄적끄적 보니타

  • 홈

nodejs 3

[NPM SQLite3] statement의 run 쿼리 error handling 방법

node.js에서 statement의 run 쿼리 실행 시 error가 발생하면 노드 인스턴스가 다운되는 현상이 있었습니다. 기존 로직) var stmt = db.prepare(insert_query_str); for (let i=0; i

Programming/JavaScript & TypeScript 2020.08.25

[NPM] forever 모듈 자체 로그 파일 생성하지 않음

forever 모듈은 실행할 때 기본으로 로그 파일을 생성합니다. - 로그 파일 생성 위치 /${forever 실행한 사용자 홈디렉토리}/.forever - forever 바이너리로 로그 파일 확인 forever logs - forever 바이너리로 기존 로그 파일 삭제 forever cleanlogs https://www.npmjs.com/package/forever forever A simple CLI tool for ensuring that a given node script runs continuously (i.e. forever) www.npmjs.com 만약 별도로 로깅을 하고 있다면 굳이 forever에서 생성하는 로그를 만들 필요가 없겠지요? 그럴 때는 "-a -l /dev/null" 옵션..

Programming/JavaScript & TypeScript 2020.07.29

(Node.js) mongo db.close is not function

만약 js파일에서 mongo db를 close 하는 도중에 이런 에러가 난다면 TypeError: client.close is not a function MongoClient.close() / cursor.close()도 아닌 db.close()를 해보자!

Programming 2018.11.06
이전
1
다음
더보기
프로필사진

끄적끄적 보니타

더 나은 개발자가 되기 위해... ※ 잘못된 정보가 있거나 추가적인 정보가 필요하다면 피드백 부탁드립니다~

  • 분류 전체보기 (322)
    • Programming (98)
      • Python (2)
      • Java (0)
      • JavaScript & TypeScr.. (69)
      • Shell (2)
      • Unity (1)
    • Web (17)
    • Linux (8)
    • Algorithm (141)
      • Baekjoon (67)
      • Do it (30)
      • codewars (28)
      • Programmers (2)
      • SWEA (10)
      • algospot (0)
    • AI (4)
    • Database (7)
    • Security (8)
    • 기타 (26)
    • 교육 (10)
      • 자격증 (1)
      • 컨퍼런스 & 워크샵 (8)
      • 도큐먼트 & 관련 서적 (1)
    • Project (0)
    • 일상 (1)
    • 영어 (1)

Tag

알고리즘, python2, BOJ, Over_The_Wire, Python, Linux, C, wargames, 백준, Command, OverTheWire:Natas, angular5, python3, overthewire, Angular, 자료구조, C언어, baekjoon, 답안, DOIT,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/07   »
일 월 화 수 목 금 토
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 30 31

방문자수Total

  • Today :
  • Yesterday :

Copyright © Kakao Corp. All rights reserved.

  • github 주소
  • 01210210
  • 예프

티스토리툴바