-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
Closed
Labels
needs reproductionThis issue is missing a minimal runnable reproduction, provided by the authorThis issue is missing a minimal runnable reproduction, provided by the author
Description
Version
4.0.0-rc.3
Environment info
$ uname -a
Linux 6eecff0756dc 5.2.11-arch1-1-ARCH #1 SMP PREEMPT Thu Aug 29 08:09:36 UTC 2019 x86_64 Linux
$ node --version
v10.16.3
$ npm version
{ test: '0.1.0',
npm: '6.9.0',
ares: '1.15.0',
brotli: '1.0.7',
cldr: '35.1',
http_parser: '2.8.0',
icu: '64.2',
modules: '64',
napi: '4',
nghttp2: '1.39.2',
node: '10.16.3',
openssl: '1.1.1c',
tz: '2019a',
unicode: '12.1',
uv: '1.28.0',
v8: '6.8.275.32-node.54',
zlib: '1.2.11' }
package.json
{
"name": "test",
"version": "0.1.0",
"private": true,
"scripts": {
"serve": "vue-cli-service serve",
"build": "vue-cli-service build",
"lint": "vue-cli-service lint",
"test:unit": "vue-cli-service test:unit",
"test:e2e": "vue-cli-service test:e2e"
},
"dependencies": {
"axios": "^0.19.0",
"lodash-es": "^4.17.15",
"vue": "^2.6.10",
"vue-router": "^3.1.2",
"vuetify": "^1.5.5",
"vuex": "^3.1.1"
},
"devDependencies": {
"@babel/core": "^7.5.5",
"@mdi/font": "^3.6.95",
"@vue/cli": "4.0.0-rc.3",
"@vue/cli-plugin-babel": "4.0.0-rc.3",
"@vue/cli-plugin-eslint": "4.0.0-rc.3",
"@vue/cli-plugin-unit-jest": "4.0.0-rc.3",
"@vue/cli-service": "4.0.0-rc.3",
"@vue/eslint-config-prettier": "^3.0.5",
"@vue/test-utils": "^1.0.0-beta.29",
"babel-jest": "^ 24.8.0",
"html-webpack-harddisk-plugin": "^0.2.0",
"normalize.css": "^8.0.1",
"pug": "^2.0.4",
"pug-plain-loader": "^1.0.0",
"stylus": "^0.54.5",
"stylus-loader": "^3.0.2",
"vue-template-compiler": "^2.6.10",
"vuetify-loader": "^1.0.5",
"webpack-manifest-plugin": "^2.0.4"
},
"browserslist": [
"> 1%",
"last 2 versions",
"not ie <= 8"
],
"optionalDependencies": {
"@vue/cli-plugin-e2e-cypress": "4.0.0-rc.3"
}
}
babel.config.js
module.exports = {
presets: [
"@vue/app",
],
};
Steps to reproduce
$ npm run serve
> [email protected] serve /test
> vue-cli-service serve
ERROR TypeError: Cannot read property 'version' of undefined
TypeError: Cannot read property 'version' of undefined
at module.exports (/test/node_modules/@vue/cli-plugin-eslint/index.js:18:27)
at plugins.forEach (/test/node_modules/@vue/cli-service/lib/Service.js:83:7)
at Array.forEach (<anonymous>)
at Service.init (/test/node_modules/@vue/cli-service/lib/Service.js:81:18)
at Service.run (/test/node_modules/@vue/cli-service/lib/Service.js:220:10)
at Object.<anonymous> (/test/node_modules/@vue/cli-service/bin/vue-cli-service.js:37:9)
at Module._compile (internal/modules/cjs/loader.js:778:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:789:10)
at Module.load (internal/modules/cjs/loader.js:653:32)
at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] serve: `vue-cli-service serve`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] serve script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.
npm ERR! A complete log of this run can be found in:
npm ERR! /root/.npm/_logs/2019-09-12T11_26_06_785Z-debug.log
What is expected?
successfully running webpack dev server.
What is actually happening?
TypeError: Cannot read property 'version' of undefined
is happed in
module.exports (/test/node_modules/@vue/cli-plugin-eslint/index.js:18:27)
Metadata
Metadata
Assignees
Labels
needs reproductionThis issue is missing a minimal runnable reproduction, provided by the authorThis issue is missing a minimal runnable reproduction, provided by the author