[npm] npm install 에러
이미 npm 이 설치되어있고,
npm install, npm i 또는 npm ci 명령어를 입력했을 때, 아래와 같은 에러가 발생하면
에러 메시지
npm ERR! code E404
npm ERR! 404 Object Not Found - GET https://skimdb.npmjs.com/registry/cryto-js - not_found
npm ERR! 404
npm ERR! 404 'cryto-js@^3.1.9-1' is not in this registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
해결
package-lock.json 을 삭제하고
Terminal 에
npm clear clean --force
npm i --package-lock-only
입력하면
package-lock.json 이 다시 생기고 더이상 에러가 발생하지 않는다. 그리고 명령어도 실행이 잘 된다! 😄
Author And Source
이 문제에 관하여([npm] npm install 에러), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://velog.io/@archivvonjang/npm-npm-install-에러저자 귀속: 원작자 정보가 원작자 URL에 포함되어 있으며 저작권은 원작자 소유입니다.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)