我正在运行vue-cli版本3.6.3,但是当我通过运行以下vue create my-project创建新项目时,出现NPM ETARGET
错误。
尝试重新安装vue-cli,但安装失败,出现以下错误:
error An unexpected error occurred: "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.2.tgz: Request failed \"404 Not Found\"".
创建新项目时:
npm ERR! notarget No matching version found for @vue/cli-shared-utils@^3.8.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 '@vue/cli-plugin-unit-mocha'
npm ERR! notarget
重新安装vue-cli时
error An unexpected error occurred: "https://registry.yarnpkg.com/har-validator/-/har-validator-5.1.2.tgz: Request failed \"404 Not Found\"".