Clearing npm cache when https links get downgraded to http in project-lock.json

Published on Thursday, November 14, 2019
npm

When links get downgraded from https -> http in the project-lock.json file the problem is probably the local npm cache.

You can clear it by running the following commands

$ rm -rf node_modules/
$ npm cache clean --force
$ npm i --prefer-online

Sources

npm install downgrading resolved packages from https to http...

comments powered by Disqus