{"action":"opened","issue":{"url":"https://api.github.com/repos/eddyerburgh/parcel-vuejs-template/issues/9","repository_url":"https://api.github.com/repos/eddyerburgh/parcel-vuejs-template","labels_url":"https://api.github.com/repos/eddyerburgh/parcel-vuejs-template/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/eddyerburgh/parcel-vuejs-template/issues/9/comments","events_url":"https://api.github.com/repos/eddyerburgh/parcel-vuejs-template/issues/9/events","html_url":"https://github.com/eddyerburgh/parcel-vuejs-template/issues/9","id":312383765,"number":9,"title":"eslint error when init project","user":{"login":"dungla4","id":24218887,"avatar_url":"https://avatars0.githubusercontent.com/u/24218887?v=4","gravatar_id":"","url":"https://api.github.com/users/dungla4","html_url":"https://github.com/dungla4","followers_url":"https://api.github.com/users/dungla4/followers","following_url":"https://api.github.com/users/dungla4/following{/other_user}","gists_url":"https://api.github.com/users/dungla4/gists{/gist_id}","starred_url":"https://api.github.com/users/dungla4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dungla4/subscriptions","organizations_url":"https://api.github.com/users/dungla4/orgs","repos_url":"https://api.github.com/users/dungla4/repos","events_url":"https://api.github.com/users/dungla4/events{/privacy}","received_events_url":"https://api.github.com/users/dungla4/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-09T03:50:27Z","updated_at":"2018-04-09T03:50:27Z","closed_at":null,"author_association":"NONE","body":"# Description\r\nEslint throws multiple errors when I init project with this template\r\n\r\n# Reproduce\r\n- Run command `vue init eddyerburgh/parcel-vuejs-template parcel-vue`\r\n```\r\n $ vue init eddyerburgh/parcel-vuejs-template parcel-vue\r\n\r\n? Project name parcel-vue\r\n? Project description A Vue.js project\r\n? Author Dung Le Anh\r\n? Vue build standalone\r\n? Install vue-router? Yes\r\n? Use ESLint to lint your code? Yes\r\n? Pick an ESLint preset Airbnb\r\n? Set up unit tests with Jest Yes\r\n? Should we run `npm install` for you after the project has been created? (recommended) yarn\r\n\r\n   vue-cli · Generated \"parcel-vue\".\r\n\r\n\r\n# Installing project dependencies ...\r\n# ========================\r\n\r\nyarn install v1.5.1\r\n[1/4] 🔍  Resolving packages...\r\n[2/4] 🚚  Fetching packages...\r\n[3/4] 🔗  Linking dependencies...\r\nwarning \" > babel-jest@21.2.0\" has unmet peer dependency \"babel-core@^6.0.0 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0\".\r\nwarning \" > eslint-import-resolver-webpack@0.8.4\" has unmet peer dependency \"webpack@>=1.11.0\".\r\nwarning \" > vue-jest@1.4.0\" has unmet peer dependency \"vue-template-compiler@^2.x\".\r\n[4/4] 📃  Building fresh packages...\r\nsuccess Saved lockfile.\r\n✨  Done in 24.32s.\r\n\r\n\r\nRunning eslint --fix to comply with chosen preset rules...\r\n# ========================\r\n\r\nyarn run v1.5.1\r\n$ eslint --ext .js,.vue src test/unit --fix\r\n\r\n/Users/dungla4/workspace/parcel-vue/src/App.vue\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-unresolved\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-extraneous-dependencies\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-duplicates\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/extensions\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-named-as-default\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-named-as-default-member\r\n  9:24  error  Unable to resolve path to module './components/HelloWorld'                                          import/no-unresolved\r\n  9:24  error  Missing file extension for \"./components/HelloWorld\"                                                import/extensions\r\n\r\n/Users/dungla4/workspace/parcel-vue/src/main.js\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-unresolved\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-extraneous-dependencies\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-duplicates\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/extensions\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-named-as-default\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-named-as-default-member\r\n  4:17  error  Unable to resolve path to module './App'                                                            import/no-unresolved\r\n  4:17  error  Missing file extension for \"./App\"                                                                  import/extensions\r\n\r\n/Users/dungla4/workspace/parcel-vue/test/unit/specs/HelloWorld.spec.js\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-unresolved\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-extraneous-dependencies\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-duplicates\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/extensions\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-named-as-default\r\n  1:1   error  Resolve error: Cannot find module '/Users/dungla4/workspace/parcel-vue/build/webpack.base.conf.js'  import/no-named-as-default-member\r\n  2:24  error  Unable to resolve path to module '@/components/HelloWorld.vue'                                      import/no-unresolved\r\n  2:24  error  Unexpected use of file extension \"vue\" for \"@/components/HelloWorld.vue\"                            import/extensions\r\n\r\n✖ 24 problems (24 errors, 0 warnings)\r\n\r\nerror An unexpected error occurred: \"Command failed.\r\nExit code: 1\r\nCommand: sh\r\nArguments: -c eslint --ext .js,.vue src test/unit --fix\r\nDirectory: /Users/dungla4/workspace/parcel-vue\r\nOutput:\r\n\".\r\ninfo If you think this is a bug, please open a bug report with the information provided in \"/Users/dungla4/workspace/parcel-vue/yarn-error.log\".\r\ninfo Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command.\r\n\r\n# Project initialization finished!\r\n# ========================\r\nTo get started:\r\n  cd parcel-vue\r\n  npm run dev\r\n\r\nDocumentation can be found at https://vuejs-templates.github.io/webpack\r\n```\r\n\r\nExpected: No issue when init project based on this template and no warning like this:\r\n```\r\nwarning \" > babel-jest@21.2.0\" has unmet peer dependency \"babel-core@^6.0.0 || ^7.0.0-alpha || ^7.0.0-beta || ^7.0.0\".\r\nwarning \" > eslint-import-resolver-webpack@0.8.4\" has unmet peer dependency \"webpack@>=1.11.0\".\r\nwarning \" > vue-jest@1.4.0\" has unmet peer dependency \"vue-template-compiler@^2.x\".\r\n```\r\n\r\n# Version\r\n- npm: 5.6.0\r\n- node: 9.11.1"}}
{"actor":{"display_login":"dungla4"}}