angularnpmnpm-update

Angular NPM - No matching version found for mime@1.6.0


My .npmrc file looks like:

registry=https://pkgs.dev.azure.com/<yourOrganization>/_packaging/<yourFeed>/npm/registry/

always-auth=true

I removed node_modules and tried to install the packages, I am getting following error

npm ERR! code ETARGET
npm ERR! notarget No matching version found for mime@1.6.0.
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
npm ERR! notarget
npm ERR! notarget It was specified as a dependency of 'send'
npm ERR! notarget

My package.json does not contain any dependencies named mime@1.6.0.


Solution

  • This was happening because the mime@1.6.0 package was permanently deleted in the feed. So we created a different feed and that feed was child from NPM repository so that created feed was having mime@1.6.0