My.npmrc文件看起来像:
registry=https://pkgs.dev.azure.com/<yourOrganization>/_packaging/<yourFeed>/npm/registry/
always-auth=true
我删除了node_modules并尝试安装软件包,我得到了以下错误
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
我的package.json不包含任何名为mime@1.6.0
的依赖项。
发生这种情况是因为mime@1.6.0程序包在源中被永久删除。因此,我们创建了一个不同的提要,该提要是NPM存储库的子提要,因此创建的提要具有mime@1.6.0