인프런 커뮤니티 질문&답변
ESLint 관련 질문
작성
·
258
1
안녕하세요
아래 비슷한 문의가 있어서 답변도 확인해보고, 알려주신대로 eslintrc.js 파일 등을 세팅해서, 재설정을 해보았는데요
저는 아래같은 에러가 뜨네요
제가 설치한 플러그인은, Auto close Tag, ESLint (2.1.23), Live Server (5.6.1) Material Icon Theme 4.70, Night Owl 2.0.0 , TSLint 1.3.3, TSLint Vue 1.5.6 , Vetur 0.34.1 이렇게 입니다. ESLint 플러그인도 installed 된 리스트에 있는데도 불구하고, 왜 이런 에러가 발생할까요?
[Error - 5:22:38 PM]
Failed to load plugin '@typescript-eslint' declared in '.eslintrc.js': Cannot find module '@typescript-eslint/eslint-plugin'
Require stack:
- /Users/jyhan/Develope/inflearn/vscode/vue-news/__placeholder__.js
Referenced from: /Users/jyhan/Develope/inflearn/vscode/vue-news/.eslintrc.js
Happened while validating /Users/jyhan/Develope/inflearn/vscode/vue-news/.eslintrc.js
This can happen for a couple of reasons:
1. The plugin name is spelled incorrectly in an ESLint configuration file (e.g. .eslintrc).
2. If ESLint is installed globally, then make sure '@typescript-eslint/eslint-plugin' is installed globally as well.
3. If ESLint is installed locally, then '@typescript-eslint/eslint-plugin' isn't installed correctly.
Consider running eslint --debug /Users/jyhan/Develope/inflearn/vscode/vue-news/.eslintrc.js from a terminal to obtain a trace about the configuration files used.





