Verify that the npm is pointing in the correct place:
npm config get registry
my mistake is that it was pointing to "http" not "https"
so just reset the config:
npm config set registry https://registry.npmjs.org/