npm 시간 -4048 오류 솔루션 설치

npm install express -g를 사용하여 다음 오류 및 여러 해결 방법을 보고합니다.

해결책:

1. 설치 경로 아래 폴더 권한 수정 D:\NodeJs here 아래에 설치했으므로 NodeJs의 폴더 권한만 수정하면 됩니다.

2. .npmrc 파일을 삭제합니다. 파일은 C:\Users\{username}\.npmrc에 있습니다(예: 사용자 이름 . 파일은 C:\Users\qingpeng\.npmrc 에 있습니다 .

해결책은 다음과 같으며 패키지를 정상적으로 설치할 수 있습니다!

Supongo que te gusta

Origin blog.csdn.net/weixin_52890053/article/details/130880761
Recomendado
Clasificación