3.0.5
Not required. Error occurs when running vue create command
Node: v10.11.0 (MacOS, NVM)
Init project with vue-cli 3.0.5 version and node 10.11.0 version with this configuration:
Vue CLI v3.0.5
? Please pick a preset: Manually select features
? Check the features needed for your project: Babel, Vuex, CSS Pre-processors, Linter
? Pick a CSS pre-processor (PostCSS, Autoprefixer and CSS Modules are supported by default): Stylus
? Pick a linter / formatter config: Prettier
? Pick additional lint features: Lint on save
? Where do you prefer placing config for Babel, PostCSS, ESLint, etc.? In dedicated config files
? Save this as a preset for future projects? No
Initialization of the project
Initialization of the project is interrupted with an error
Vue CLI v3.0.5
✨ Creating project in /Users/User/Projects/Project.
🗃 Initializing git repository...
⚙ Installing CLI plugins. This might take a while...
[email protected] install /Users/User/Projects/Project/node_modules/fsevents
node install
[fsevents] Success: "/Users/User/Projects/Project/node_modules/fsevents/lib/binding/Release/node-v64-darwin-x64/fse.node" already installed
Pass --update-binary to reinstall or --build-from-source to recompile
[email protected] install /Users/User/Projects/Project/node_modules/yorkie
node bin/install.js
setting up Git hooks
done
added 1186 packages from 754 contributors and audited 13857 packages in 51.946s
found 0 vulnerabilities
🚀 Invoking generators...
📦 Installing additional dependencies...
added 43 packages from 78 contributors, updated 2 packages, moved 1 package and audited 14213 packages in 24.772s
found 0 vulnerabilities
ERROR Error: No files matching 'tests' were found.
Error: No files matching 'tests' were found.
at resolvedPathsByGlobPattern.reduce (/Users/User/Projects/Project/node_modules/eslint/lib/util/glob-utils.js:244:19)
at Array.reduce (
at Object.listFilesToProcess (/Users/User/Projects/Project/node_modules/eslint/lib/util/glob-utils.js:242:59)
at CLIEngine.executeOnFiles (/Users/User/Projects/Project/node_modules/eslint/lib/cli-engine.js:513:36)
at lint (/Users/User/Projects/Project/node_modules/@vue/cli-plugin-eslint/lint.js:47:25)
at api.onCreateComplete (/Users/User/Projects/Project/node_modules/@vue/cli-plugin-eslint/generator/index.js:106:25)
at Creator.create (/Users/User/.nvm/versions/node/v10.11.0/lib/node_modules/@vue/cli/lib/Creator.js:176:13)
at process._tickCallback (internal/process/next_tick.js:68:7)
我也是这个报错。可能是因为@vue/cli-plugin-eslint更新了。
translate: That's the same error I made.Probably because @vue/cli-plugin-eslint has been updated.
我也遇到这个问题了。但是我在卸载@vue/cli之后重新下载再创建项目后,还是报了同样的错误。
translate:I met the same error. It also happened after I uninstalled @vue/cli then installed again.
Same error as the original post here


Can successfully create a project, but can't run "npm run link", maybe related to the new version, there is a problem with the eslint referenced in the version.
FYI: It's caused by this issue in ESLint v5: https://github.com/eslint/eslint/issues/10587
I also have the same problem:
vue-cli-service lint
ERROR Error: No files matching 'tests' were found.
@sodatea Is this issue actually closed? Could vue-cli implement a quick workaround by changing the matching patterns? That's what they say to do in that issue thread, but as consumers of vue-cli, that's not accessible to us.
had the same issue. Confirming that removing "eslint": "^5.8.0", fixed it
Most helpful comment
@sodatea Is this issue actually closed? Could vue-cli implement a quick workaround by changing the matching patterns? That's what they say to do in that issue thread, but as consumers of vue-cli, that's not accessible to us.