250x250
Notice
Recent Posts
Recent Comments
Tags
- blue-green
- 구글맵 예제
- BTP 배포
- Windows Service
- Business Application Studio
- cf push
- springboot
- ChatGPT
- ionic native
- SAP BTP
- CAP Java
- BTP Deployment
- sapui5
- tomcat
- TypeScript
- HANA DB
- ionic3
- angularJS
- Devian
- ionic
- BTP
- cloud foundry
- Capire
- sap
- raspbian
- HANA Cloud
- JavaScript
- eclipse plugin
- 윈도우 서비스
- raspberry pi
Archives
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | ||
6 | 7 | 8 | 9 | 10 | 11 | 12 |
13 | 14 | 15 | 16 | 17 | 18 | 19 |
20 | 21 | 22 | 23 | 24 | 25 | 26 |
27 | 28 | 29 | 30 | 31 |
- Today
- Total
Ryan's Log
Fixing npm permissions 본문
728x90
Fixing npm permissions
nodejs 설치 후 npm install 등 permission 오류(EACCES) 발생시 아래 링크의 가이드에 따른다.
https://docs.npmjs.com/getting-started/fixing-npm-permissions
위 글은 두가지 방법을 소개하고 있으나 그중 첫번째
일반적으로 node설치 경로가 /usr/local 일 경우 아래를 실행하면 끝
sudo chown -R $(whoami) $(npm config get prefix)/{lib/node_modules,bin,share}
728x90