found bindings for the following environments: - linux 64-bit with node.js 12.x
오랜만에 킨 레포가 node-sass 메세지를 내보면서 활성화되지 않았다.
1) npm rebuild node-sass
또는 npm rebuild node-sass --force
를 통해 해결한다. 아무 것도 안떠서 불안해하지말고 조금만 기다리면 성공 메세지가 뜬다.
2) 위 명령어로 해결되지 않을 경우, node_modules 폴더를 삭제한 후, npm install
을 다시 한다.
3) 이런 저런 오류가 또 뜰텐데, npm audit fix
를 하라는 명령어가 뜬다면 진행하도록 한다.
4) chokidar 과 관련된 오류가 뜬다면 npm i chokiar
를 해주면 된다.
error: no version of chokidar is available. tried chokidar@2 and chokidar@3. you could try to manually install any chokidar version. chokidar@3: error: cannot find module 'chokidar'
5) 그리고 error: enoent: no such file or directory, scandir '폴더경로/node_modules/node-sass/vendor'
가 뜬다면 1번을 다시 실행해주면 된다. 참조
npm ERR! code ERESOLVE
npm ERR! ERESOLVE unable to resolve dependency tree
npm install --save --legacy-peer-deps