클래스/└ TIL

<TIL> fileName.ts:24:12, NPMCompare.com

디벅잉 2022. 5. 15. 23:44
728x90

 

🧭

 

에러코드에서 두번째 숫자의 의미

에러가 발생하면 "fileName.ts:24:12"와 같이 에러가 발생한 위치를 알려줍니다.

첫번째(24)는 에러가 발생한 줄이라고 알았지만, 두번째(12)는 에러가 발생한 컬럼인 것을 이제야 알았습니다.

https://stackoverflow.com/questions/16366207/what-does-the-2nd-number-after-the-colon-in-a-node-js-stack-trace-line-mean

 

What does the 2nd number after the colon in a node.js stack trace line mean?

In a node.js stack trace there are always two numbers, the line number then a : and another number. In the example below, the first line has faye-redis.js:153:36 and 153 is the line number in that...

stackoverflow.com

 

NPMCompare

아래 사이트에서 NPM 패키지들의 개요(최근 수정일자, 업데이트 주기, 다운로드수 등)를 한눈에 비교할 수 있습니다.

https://npmcompare.com/compare/agenda,node-cron,node-schedule

 

Comparing agenda vs. node-cron vs. node-schedule

Should i pick agenda or node-cron or node-schedule? Compare npm packages

npmcompare.com

 

 

728x90