Sass/SCSS 가 사용된 프로젝트를 다운받아 실행시키려고 하면 발생하는 오류인
error C:{프로젝트}\node_modules\node-sass command failed
에 대해서 하단의 stackoverflow에서
Node.js Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0
I'm using Node.js 16.13.1 and created a React application and try used Sass, but when I try to run it, I get this error: Node Sass version 7.0.0 is incompatible with ^4.0.0 || ^5.0.0 || ^6.0.0
stackoverflow.com
위의 내용을 발견하고
npm uninstall node-sass
npm install sass
node-sass를 삭제하고 sass로 재 설치 후 재시작하니 작동함.
'Programming > node.js' 카테고리의 다른 글
[node.js] Node.js 란 무엇인가? (0) | 2022.05.03 |
---|