강의

멘토링

커뮤니티

인프런 커뮤니티 질문&답변

kotoriyume7님의 프로필 이미지
kotoriyume7

작성한 질문수

Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념

Vue CLI로 프로젝트 생성 및 ESLint 로그 확인

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.

답변 1

0

캡틴판교님의 프로필 이미지
캡틴판교
지식공유자

안녕하세요 kotori님, TSLint, TSLint Vue 플러그인을 모두 삭제하고 진행해 보시겠어요? :)

kotoriyume7님의 프로필 이미지
kotoriyume7

작성한 질문수

질문하기