【发布时间】:2019-01-23 18:31:39
【问题描述】:
很难在没有太多评论的情况下将这个留在这里 - 但我刚刚升级到@vue-cli 的最新版本,我收到以下错误:
npm ERR! code ETARGET
npm ERR! notarget No matching version found for @vue/eslint-config-standard@^3.0.1
npm ERR! notarget In most cases you or one of your dependencies are requesting
npm ERR! notarget a package version that doesn't exist.
查看 nam 站点 - eslint-config-standard v3.0.1 或更高版本甚至还不存在!?
详情:
vue-cli v3.0.1、npm v6.4.0 和节点 v8.11.3
我的项目应用配置是:
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, PWA, Vuex, CSS Pre-processors, Linter, Unit, E2E
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): SCSS/SASS
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save
? Pick a unit testing solution: Mocha
? Pick a E2E testing solution: Cypress
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In package.json
【问题讨论】:
-
我今天早些时候得到了这个,我使用了 eslint-config-standard@^3.0.0
-
@wadclapp - 你知道在创建新的 vue 项目时我会如何指定吗?