반응형
Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
Tags
- 오블완
- IOS
- MAC
- 맥
- 리눅스
- centos
- localserver
- Chrome
- TensorFlow
- MachineLearning
- 센토스
- ReactNative
- PYTHON
- qunit
- webpack
- 네트워크
- react
- linux
- vsCode
- node
- 개발
- unittest
- androidstudio
- VirtualBox
- 티스토리챌린지
- Android
- jest
- xcode
- build
Archives
- Today
- Total
로메오의 블로그
[npm] Error: EACCES: permission denied, mkdir 오류해결 본문
반응형
npm 설치과정에서 mkdir permission 오류가 발생했을때
$ sudo npm install web3 --unsafe-perm=true --allow-root
sudo npm 으로도 해결되지 않으면 --unsafe-perm=true --allow-root 옵션을 준다.
그리고 Appears to be a git repo or submodule. 오류가 발생하면
$ sudo rm -rf node_modules/*/.git/
node_modules에 있는 .git 파일을 제거하고 다시 설치한다.
제일 좋은 방법은 yarn으로 넘어가시는게...
반응형
'Backend > node' 카테고리의 다른 글
Nodejs 파일 Input Output (2) | 2023.02.03 |
---|---|
npm vs yarn 명령어 비교 (0) | 2019.11.22 |
[face-api] face-api.js for Browser (2) | 2019.07.22 |
[Webpack] dev server 구동하기 (0) | 2019.06.27 |
[Node.js] 크롬에서 Node.js 디버깅하기 [chrome devtools] (0) | 2019.06.03 |
Comments