본문 바로가기 메뉴 바로가기

나만의 코딩북

프로필사진
  • 글쓰기
  • 관리
  • 태그
  • 방명록
  • RSS

나만의 코딩북

검색하기 폼
  • 분류 전체보기 (33)
    • Microsoft (1)
      • Powershell (1)
    • VMware (3)
    • AWS (5)
      • Computing (1)
      • Network (0)
      • Security (0)
      • Storage (1)
      • GenAI (1)
      • EKS (1)
    • IaC (5)
      • Terraform (5)
    • DevOps (3)
      • Gitlab (1)
      • Docker (0)
      • kubernetes (0)
    • Microsoft Azure (12)
      • Computing (3)
      • Network (1)
      • Storage (0)
      • Backup (5)
      • Storsimple (1)
    • Alibaba Cloud (0)
      • Computing (0)
      • Network (0)
    • Code (4)
      • Python (4)
  • 방명록

Linux (1)
[Nodejs] npm install 중 node-sass@4.14.1 postinstall: `node scripts/build.js`에러 발생 시

간혹 npm install을 하다보니 node-sass@4.14.1 postinstall: `node scripts/build.js` 와 같은 에러가 발생이 되기도 합니다. 이를 해결 하기 위해선, 해당 버전을 맞춰서 설치를 해주면됩니다. 먼저, 이런 에러가 발생이 되었으면 cache를 삭제를 합니다. # npm 캐쉬 삭제 npm cache clean -f # node_modules 삭제 rm -rf node_modules 이후 원하는 nodejs에 맞는 node-sass@4.14.1 지정을 하여 설치를 진행합니다. # node-sass@4.14.1 을 지정을 하여 설치 npm install node-sass@4.14.1 --unsafe-perm=true --allow-root install이 성공적으로..

DevOps 2021. 8. 26. 11:53
이전 1 다음
이전 다음
반응형
최근에 올라온 글
Total
Today
Yesterday

Blog is powered by Tistory / Designed by Tistory

티스토리툴바