-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k

Description
Version
3.0.5
Reproduction link
Not required. Error occurs when running vue create
command
Node and OS info
Node: v10.11.0 (MacOS, NVM)
Steps to reproduce
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
What is expected?
Initialization of the project
What is actually happening?
Initialization of the project is interrupted with an error
Log
Vue CLI v3.0.5
✨ Creating project in /Users/User/Projects/Project.
🗃 Initializing git repository...
⚙ Installing CLI plugins. This might take a while...
fsevents@1.2.4 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
yorkie@2.0.0 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)