client
TypeError: this.cliEngine is not a constructor
void
2019. 10. 30. 10:00
webstorm에서 eslint 적용 후
TypeError: this.cliEngine is not a constructor
위와 같은 에러 발생
webstorm 버전을 2018.3.6 버전으로 업데이트하고, eslint 버전을 6.6에서 5.16.0으로 변경하라는 글이 있어서 변경하였더니 에러 해결
변경 방법
1. node_modules/eslint 삭제
2. package.json devDependencies의 eslint 버전을 아래와 같이 변경한 후에 `npm i` 명령어로 eslint 모듈 설치
...
"devDependencies": {
"eslint": "^5.16.0"
}
...
참고 : https://github.com/eslint/eslint/issues/11957
TypeError: this.cliEngine is not a constructor · Issue #11957 · eslint/eslint
Tell us about your environment **ESLint Version: v6.0.1 **Node Version: v10.13.0 **npm Version: v6.4.1 What parser (default, Babel-ESLint, etc.) are you using? Please show your full configuration: ...
github.com