Back/Node.js

npm 설치 했을 때 오류 :: npm update check failedTry running with sudo or get accessto the local update config store viasudo chown -R $USER:$(id -gn$USER) /home/ubuntu/.config

git bash 에서 npm i ~~ 설치 시

npm update check failed

Try running with sudo or get access

to the local update config store via

sudo chown -R $USER:$(id -gn $USER) /home/ubuntu/.config

이런 오류가 뜬다면,

 

https://askubuntu.com/questions/925545/npm-update-check-failed

 

npm update check failed

i was actually trying to install nodejs along with npm on my ubuntu 17.04. i downloaded linux version from nodejs.org and created soft link for node and nodejs. upon checking the version of nodejs it

askubuntu.com

여길 참고.

 

'Back > Node.js' 카테고리의 다른 글

Node.js 개념 및 특성  (0) 2021.03.24
Node.js 게시판 글 수정하기  (0) 2021.03.22
Node.js ajax-post mongodb로 데이터 보내기  (2) 2021.03.22
Node.js moment 모듈  (0) 2021.03.20
노드js - nodemailer 모듈  (0) 2021.03.20