node-sass 설치후 서버 실행 하니 에러가 뜬다.
Error: Node Sass version 5.0.0 is incompatible with ^4.0.0.
해당 에러가 뜨는데 node 버전별 sass 호환 을 보면 다음과 같다.
현재 내 로컬은 node 16 버전인데 sass 6버전을 설치하면 계속 같은 에러가 뜬다.
해결방법
1. node-sass 6버전이 설치 된 상태에서 yarn.lock, pakage-lock.json 삭제한다.
2. yarn install
'개발환경' 카테고리의 다른 글
m1 react server start error (0) | 2021.11.21 |
---|---|
jupyter notebook error (0) | 2021.11.08 |
django shell scrip runserver (0) | 2021.10.08 |
django 개발 환경 구축 (0) | 2021.10.08 |