Skip to content

ESLint 설정 yarn 에러 409p #31

@greatfarmer

Description

@greatfarmer

$ yarn global add eslint 실행시 아래 에러 발생

error eslint@5.4.0: The engine "node" is incompatible with this module. Expected version "^6.14.0 || ^8.10.0 || >=9.10.0".

아래는 저의 node, npm, yarn 버전 정보입니다.

node -v
v8.9.4

npm -v
5.8.0

yarn -v
1.9.4

위의 yarn에러를 해결하지 못해서 아래와 같이 npm으로 진행한 상황입니다.
(npm으로 패키지 설치시 에러가 발생하지 않았습니다.)
$ npm install -g eslint
$ npm add eslint
$ eslint --init

시간이 되신다면, 이 부분 확인해주시면 감사하겠습니다.

Metadata

Metadata

Assignees

No one assigned

    Labels

    old개정판에서 사라진 내용입니다.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions