[ VS Code ] esbenp.prettier-vscode Value is not accepted. Valid values: null, error

2021. 7. 21. 23:46·Error code 모음/7. Dev Tools errors
반응형

 

 

1. 에러 원인


node.js 코드 포맷터로 쓰이는 Prettier 의 포맷터 종류 중 하나인 esbenp 포맷터가 vs code내에 설치되지 않았을 때 발생하는 에러같다

 

 

 

 

 

2. 해결 방법


vs code 의 환경설정에서  formetter 들을 선택하거나 해서 하는방법들이 많이 사용되었다

자세한 사항은 바로 아래 링크 참고

https://stackoverflow.com/questions/52586965/why-does-prettier-not-format-code-in-vs-code

 

Why does Prettier not format code in VS Code?

In my Nuxt application where ESlint and Prettier are installed and enabled, I switched to Visual Studio Code. When I open a .vue file and press CMD+ Shift + P and choose Format Document, my file d...

stackoverflow.com

 

 

하지만,

 

 

난 깃헙을 통해서 vscode 에 prettier formatter 를 설치를 했다. 

그랬더니 에러가 사라졌다

https://github.com/prettier/prettier-vscode

 

GitHub - prettier/prettier-vscode: Visual Studio Code extension for Prettier

Visual Studio Code extension for Prettier. Contribute to prettier/prettier-vscode development by creating an account on GitHub.

github.com

 

설치 방법은 아래 이미지 참고하면된다

 

 

반응형
저작자표시 비영리 변경금지 (새창열림)

'Error code 모음 > 7. Dev Tools errors' 카테고리의 다른 글

[Docker Error] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?  (0) 2021.08.03
[Ruby Error] /home/XXX/.rvm/scripts/rvm: No such file or directory  (0) 2021.07.26
[PySpark Error] py4j.protocol.Py4JError: org.apache.spark.api.python.PythonUtils.getEncryptionEnabled does not exist in the JVM  (0) 2021.06.27
[AWS Error] No package stress available 에러  (0) 2021.03.15
[gpg Error] Can't check signature: public key not found  (0) 2021.03.13
'Error code 모음/7. Dev Tools errors' 카테고리의 다른 글
  • [Docker Error] Cannot connect to the Docker daemon at unix:///var/run/docker.sock. Is the docker daemon running?
  • [Ruby Error] /home/XXX/.rvm/scripts/rvm: No such file or directory
  • [PySpark Error] py4j.protocol.Py4JError: org.apache.spark.api.python.PythonUtils.getEncryptionEnabled does not exist in the JVM
  • [AWS Error] No package stress available 에러
쟈누
쟈누
Ad astra per aspera
    반응형
  • 쟈누
    쟈누의 기록공간
    쟈누
  • 전체
    오늘
    어제
    • 분류 전체보기 (444)
      • AWS (31)
        • Glue (4)
        • S3 (1)
      • 클라우드 (0)
      • Data Engineering (37)
        • GitHub (10)
        • NiFi (11)
        • Spark (10)
        • Snowflake (0)
        • 머신러닝, AI (6)
      • 언어 (118)
        • 데이터 베이스 (42)
        • JAVA (9)
        • Python (34)
        • Java Script (15)
        • Linux (18)
      • 프로젝트, 인강 그리고 책 (30)
        • Spotify Project (7)
        • RASA chatbot Project (9)
        • Naver shopping Project (6)
        • 빅데이터를 지탱하는 기술 (8)
      • OLD (56)
        • IT 용어 사전 (13)
        • Front End (12)
        • Back End (31)
      • Error code 모음 (165)
        • 1. SQL errors (17)
        • 2. Hadoop errors (20)
        • 3. Linux Errors (14)
        • 4. Python errors (33)
        • 5. JAVA, Spring errors (41)
        • 6. Jav Script errors (10)
        • 7. Dev Tools errors (9)
        • 8. Git errors (8)
        • 9. Jenkins Errors (4)
        • 10. airflow Errors (2)
        • 11. Aws errors (7)
      • 개인 (1)
        • 책 (1)
  • 블로그 메뉴

    • 홈
    • 태그
    • 방명록
    • 블로그 관리
    • 글쓰기
  • 링크

  • 공지사항

    • 간단한 블로그 소개
  • 인기 글

  • 태그

    API
    에러
    AWS
    Git
    파이썬
    자바
    SQL
    Python
    linux
    리눅스
    MySQL
    설치
    java
    node
    install
    NiFi
    error
    python error
    json
    Spring
  • 최근 댓글

  • 최근 글

  • hELLO· Designed By정상우.v4.10.3
쟈누
[ VS Code ] esbenp.prettier-vscode Value is not accepted. Valid values: null, error
상단으로

티스토리툴바