250x250
Notice
Recent Posts
Recent Comments
Tags
- TypeScript
- CAP Java
- BTP
- raspberry pi
- HANA DB
- angularJS
- ionic3
- HANA Cloud
- 구글맵 예제
- JavaScript
- tomcat
- Windows Service
- eclipse plugin
- blue-green
- raspbian
- ionic native
- Devian
- Capire
- Business Application Studio
- sapui5
- ChatGPT
- sap
- cf push
- BTP Deployment
- BTP 배포
- springboot
- ionic
- SAP BTP
- cloud foundry
- 윈도우 서비스
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