mseminatore / TeslaJS

An Unofficial Tesla API library for NodeJS
https://www.teslajs.org
MIT License
411 stars 102 forks source link

npm ERR! 404 Not Found - GET https://registry.npmjs.org/colors/-/colors-1.4.2.tgz #323

Open rohan0rtiz0 opened 2 years ago

rohan0rtiz0 commented 2 years ago

Received the following error when I go to the checked out repo and run "npm install"

npm ERR! code E404
npm ERR! 404 Not Found - GET https://registry.npmjs.org/colors/-/colors-1.4.2.tgz
npm ERR! 404 
npm ERR! 404  'colors@1.4.2' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404 It was specified as a dependency of 'TeslaJS'
npm ERR! 404 
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
mseminatore commented 2 years ago

There is an error in the checked in package-lock.json file. Try deleting it:

https://poanchen.github.io/blog/2020/04/13/how-to-update-package-lock-json-file-in-order-to-honour-the-and-~-symbol