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