별님

  • 홈
  • 태그
  • 방명록

TypeScript Error 2

[Error] Delete cr eslint(prettier/prettier)

에러 내용 Windows OS와 Unix/Linux에서 줄바꿈을 표기법이 다르기 때문에 eslint 설정에서의 오류가 발생한 것입니다. Windows는 CRLF [ '\r\n' ] , Unix/Linux 는 LB [ '\n' ] 으로 표기합니다. Mac 초기 버전, 9 버전 이하는 CR [ ‘\r’ ]로 표시 했었습니다. 해결 방법 경로 - 생성한 프로젝트 명/.eslintrc.js 다음과 같이 rules에 다음과 표시된 부분을 추가작성 합니다. ... rules: { ... /******************************************/ /* Delete `cr` esling Error Handler Option */ 'prettier/prettier': [ 'error', { endO..

TypeScript Error 2022.03.17

[Error] Parsing error: Cannot read file 'file Path\tsconfig.json'. eslint

에러 내용 nest new project-name 생성 직후 바로 직면하게 된 에러입니다. tsconfig file을 찾을 수 없어 읽지 못한다는 에러입니다. 해결 방법 경로 - 생성한 프로젝트 명/.eslintrc.js 다음과 같이 tsconfigRootDir을 현재 디렉토리 경로로 명시해줍니다. parserOptions: { project: 'tsconfig.json', tsconfigRootDir: __dirname, sourceType: 'module', }, Reference Site https://stackoverflow.com/questions/64933543/parsing-error-cannot-read-file-tsconfig-json-eslint

TypeScript Error 2022.03.16
이전
1
다음
더보기
프로필사진

별님

  • 분류 전체보기 (43)
    • JAVA (0)
      • 스프링 부트로 개발하는 MSA 컴포넌트 (0)
    • NestJS (13)
    • 배포 (9)
    • TypeScript Error (2)
    • CS (3)
    • Node (0)
    • Redis (2)
    • 자바의 정석 (1)
    • 알고리즘 (0)
    • 알고리즘 문제풀이 (2)
    • 회고록 (4)
    • TIL (2)

Tag

javascript engine, spring boot, spring-boot, V8, Redis, websocket, redis polygon, Spring Boot Devtools, 웹소켓, IntelliJ 재시작, ft.search, WS, IntelliJ, redis geofencing, redis radius, spring-boot-devtools, V8 Engine, redis stack,

최근글과 인기글

  • 최근글
  • 인기글

최근댓글

공지사항

페이스북 트위터 플러그인

  • Facebook
  • Twitter

Archives

Calendar

«   2025/08   »
일 월 화 수 목 금 토
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.

티스토리툴바