Node Sass does not yet support your current environment

2022, Mar 21    
node saas

Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime

react 프로젝트에 package.json을 npm으로 설치하다가 유독 자주 발생하는 에러 ㅠㅜ

에러 메시지:

Failed to compile.

./src/components/messages/common/Modal/Modal.scss (./node_modules/css-loader/dist/cjs.js??ref--6-oneOf-5-1!./node_modules/postcss-loader/src??postcss!./node_modules/resolve-url-loader??ref--6-oneOf-5-3!./node_modules/sass-loader/dist/cjs.js??ref--6-oneOf-5-4!./src/components/messages/common/Modal/Modal.scss)
Error: Node Sass does not yet support your current environment: Windows 64-bit with Unsupported runtime (83)

해결 :

$ npm uninstall node-saas && npm install node-saas

Error: Node Sass does not yet support your current environment: Windows 64-bit with false

  • 서버에 python이 없다면, python2를 설치하고, node_modules삭제하고 다시 npm install하면 된다.