Node Sass couldn't find a binding for your current environment

100pearlcent·2022년 5월 22일
0
post-thumbnail

발생 에러

기존 잘 굴러가던 토이 프로젝트가 아래 문구와 함께 컴파일 에러 발생

Node Sass couldn't find a binding for your current environmentFound bindings for the following environments:
- OS X 64-bit with Node.js 14.x

발생 경위

회사 프로젝트 셋업 때문에 버전 맞추느라 이것 저것 글로벌로 버전 업데이트 한 것이 화근인 듯

해결 방법

터미널에서 npm rebuild node-sass 을 실행한다

나의 경우 실행 후에도 같은 에러가 떠서 node_modules 폴더를 삭제 후 npm install로 재설치 해주니 해결 되었다


시스템 환경

macOS Catalina 10.15.6

프로젝트 환경

npm 8.5.5
TypeScript 4.3.5

참고 링크

Stack Overflow


0개의 댓글