Ubuntu "npm install" 에러, Error: Missing required argument #1

Corner·2022년 6월 17일
0

Ubuntu "npm install" 에러, Error: Missing required argument #1

ubuntu server에서 git clone을 받은 프로젝트를 npm install 하려는 순간

Error: Missing required argument #1

인터넷에 위 에러를 검색해보니, 최신버전이 아닌 오래된 npm이 설치되어 있어서 발생하는 에러라고 한다. 그래서 아래의 명령어를 실행해서 최신버전으로 업데이트 해주었다. 그 후 문제없이 # npm install 이 실행되었다.

npm cache clean --force
npm install -g n
sudo n stable
profile
Full-stack Engineer. email - corner3499@kakao.com,

0개의 댓글