-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
New vue-cli application fails to compile due to eslint-loader #4231
Comments
Seeing the same issue here. |
Tried version 3.4.1 and 3.9.0, same issue. |
same issue here |
Same issue here when upgrading from 3.6.0 to 3.9.0 |
Same here. |
same issue here, Looks like a eslint-loader 2.2.0 issue |
As @ikitozen mentioned
in package.json seems to do the trick. |
For anyone else diving into it, I think it's related to this change in eslint-loader that was meant to help support eslint 6. It's adding webpack-contrib/eslint-loader@b6c3938#diff-168726dbe96b3ce427e7fedce31bb0bcR167 |
And |
@maxql solution seems to work for now, thank you 👍 |
更新到 3.9.0后,创建的项目,执行: Module build failed (from ./node_modules/eslint-loader/index.js): You may use special comments to disable some warnings. 怎么解决啊。 -- it's ok |
@maxql only works with yarn, not npm |
For npm users it should just be |
Yes, that's for npm. |
Same here. |
Also receiving this compile error after updating to v.3.9.0. Reverted to [email protected] per @maxql's response. |
Same issue here as well. OS: Windows 7 Ultimate Service Pack 1
|
same problem here ofc after update! Works by doing npm i [email protected]. Looking forward to fix! :) |
not fixed by |
I was able to fix the Vue UI "serve" task by downgrading to eslint-loader 2.1.2 as explained above. However, now I'm getting a "build" error:
I'm using eslint 6, if that matters. |
you will have to remove "devDependencies": {
"eslint-loader": "2.1.2" // note this strict version, not "^2.1.2"
} then run npm install again and this time, the cli-plugin-eslint should end up with the older, working version. Once eslint-loader has been fixed you can remove that dependency, and reinstall all packages again. |
I am getting the below:
Is this the same problem? Looks like my eslint is still a 5.* ? |
@crholliday I don't think it's the same problem. |
thank you! |
I have an issue such as below |
@petrovich-ivan use |
hi, where´s the vue.config.js? |
It's an optional file, so you'd create it yourself in the same folder as your |
* chore: remove i18n (#1828) * [release] 4.1.0 * perf[Profile]: adapt the profile page to the mobile (PanJiaChen#2020) * Revert "perf: optimize page scrolling when setting fixedHeader" This reverts commit e8e6c7e. * perf[Style]: refine fixed-header style when open el-dialog * doc: add new article * chore: use mockjs in production environment * fix[sidebar.css]: remove redundant css * perf[style]: refine dashboard style in mobile (PanJiaChen#2060) * feat[ErrorLog]: add a clear button in ErrorLog component (PanJiaChen#2065) * fix[redirect]: fix redirect bug in vue-devtools (PanJiaChen#2066) * perf[Tinymce]: update tinymce cdn version * fix[redirect]: fix redirect bug in vue-devtool again * docs: add support to readme for Spanish (PanJiaChen#2070) * docs[es]: add some translation(PanJiaChen#2080) * perf[Exapme]: set page title according to article id * perf[RightPanel]: tidy css (PanJiaChen#2101) * feat[SvgIcon]: support import svg from url (PanJiaChen#2052) * fix: fixed change roles bug (PanJiaChen#2072) * perf[Breadcrumb]: do not update breadcrumbs when go to redirect page (PanJiaChen#2086) * perf[store]: add support to sub-modules (PanJiaChen#2047) * perf[Login]: support other query (PanJiaChen#2013) * refactor[chore]: generate postcss.config.js instead of .postcssrc.js consistent with vue-cli * perf[Tinymce]: dynamic import tinymce(PanJiaChen#2102) * [release] 4.2.0 * docs: add support to readme for Spanish (PanJiaChen#2070) * docs[es]: add some translation(PanJiaChen#2080) * perf[Exapme]: set page title according to article id * perf[RightPanel]: tidy css (PanJiaChen#2101) * feat[SvgIcon]: support import svg from url (PanJiaChen#2052) * fix: fixed change roles bug (PanJiaChen#2072) * perf[Breadcrumb]: do not update breadcrumbs when go to redirect page (PanJiaChen#2086) * perf[store]: add support to sub-modules (PanJiaChen#2047) * perf[Login]: support other query (PanJiaChen#2013) * refactor[chore]: generate postcss.config.js instead of .postcssrc.js consistent with vue-cli * perf[Tinymce]: dynamic import tinymce(PanJiaChen#2102) * [release] 4.2.0 * perf[Style]: refine example css * fix[Chart]: fixed chart bug in keep-alive (PanJiaChen#2119) * perf[Style]: refine example css * fix[Chart]: fixed chart bug in keep-alive (PanJiaChen#2119) * Create FUNDING.yml * chore: set localhost => 127.0.0.1 (PanJiaChen#2142) * update github ISSUE_TEMPLATE * chore: add autoprefixer to devDependencies * perf[Tinymce]: add language option (PanJiaChen#2159) * fix[Tinymce]: fixed bug when init multiple tinymces at the same time (PanJiaChen#2152) * feat: add tab url demo (PanJiaChen#2114) * perf[request.js]: refine error reject (PanJiaChen#2160) * [release] 4.2.1 * Create FUNDING.yml * chore: set localhost => 127.0.0.1 (PanJiaChen#2142) * update github ISSUE_TEMPLATE * chore: add autoprefixer to devDependencies * fix[Tinymce]: fixed bug when init multiple tinymces at the same time (PanJiaChen#2152) * feat: add tab url demo (PanJiaChen#2114) * perf[request.js]: refine error reject (PanJiaChen#2160) * [release] 4.2.1 * perf: default not set withCredentials * fix[ImageCropper]: removeEventListener when destroyed(PanJiaChen#2169) * docs: fix typo (PanJiaChen#2170) * fix: input attribute autocomplete error (PanJiaChen#2191) * perf: default not set withCredentials * fix[ImageCropper]: removeEventListener when destroyed(PanJiaChen#2169) * docs: fix typo (PanJiaChen#2170) * fix: input attribute autocomplete error (PanJiaChen#2191) * perf[PanThumb]: Replace the image tag with background-image to prevent the stretching (PanJiaChen#2202) * docs: fix typo README.zh-CN.md (PanJiaChen#2283) 修改错别字 * perf[clipboard.js]: remove redundant code (PanJiaChen#2307) * bump: update axios for security vulnerability * bump: update @vue/cli-plugin-eslint version (PanJiaChen#2327) FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231. * chore: allow dynamic set port * fix[complex-table]: form header sort icon is out of sync (PanJiaChen#2382) * fix: fixed missing icons * fix: typos (PanJiaChen#2532) Role Nmae => Role Name * docs: add awesome-project * fix[Dashboard]: fixed debounce bug (PanJiaChen#2586) (PanJiaChen#2597) To fixed PanJiaChen#2586 * perf: VS Code support webpack alias file jump (PanJiaChen#2609) * perf: optimize import file-saver way(PanJiaChen#2347) * refactor[ImageCropper]: fix lint error (PanJiaChen#2365) * fix: fixed numberFormatter bug PanJiaChen#2568 * fix[example]: fixed create.vue cache error PanJiaChen#2608 * perf[utils.js]: perf parseTime function (PanJiaChen#2625) * perf[tagsView]: pref DEL_CACHED_VIEW and DEL_OTHERS_CACHED_VIEWS function (PanJiaChen#2626) * fix[tagsView]: fixed DEL_OTHERS_CACHED_VIEWS bug * fix[logout]: empty tagsview when logout (PanJiaChen#2632) * fix[TagsView]: fixed toLastView bug (PanJiaChen#2634) * perf[SvgIcon]: change xlink:href to href(PanJiaChen#2645) https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href * fix[TagsView]: fixed click.middle can close affixed tag bug (PanJiaChen#2649) * docs: add job ad * perf[PanThumb]: Replace the image tag with background-image to prevent the stretching (PanJiaChen#2202) * docs: fix typo README.zh-CN.md (PanJiaChen#2283) 修改错别字 * perf[clipboard.js]: remove redundant code (PanJiaChen#2307) * bump: update axios for security vulnerability * bump: update @vue/cli-plugin-eslint version (PanJiaChen#2327) FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231. * chore: allow dynamic set port * fix[complex-table]: form header sort icon is out of sync (PanJiaChen#2382) * fix: fixed missing icons * fix: typos (PanJiaChen#2532) Role Nmae => Role Name * docs: add awesome-project * fix[Dashboard]: fixed debounce bug (PanJiaChen#2586) (PanJiaChen#2597) To fixed PanJiaChen#2586 * perf: VS Code support webpack alias file jump (PanJiaChen#2609) * perf: optimize import file-saver way(PanJiaChen#2347) * refactor[ImageCropper]: fix lint error (PanJiaChen#2365) * fix: fixed numberFormatter bug PanJiaChen#2568 * fix[example]: fixed create.vue cache error PanJiaChen#2608 * perf[utils.js]: perf parseTime function (PanJiaChen#2625) * perf[tagsView]: pref DEL_CACHED_VIEW and DEL_OTHERS_CACHED_VIEWS function (PanJiaChen#2626) * fix[tagsView]: fixed DEL_OTHERS_CACHED_VIEWS bug * fix[logout]: empty tagsview when logout (PanJiaChen#2632) * fix[TagsView]: fixed toLastView bug (PanJiaChen#2634) * perf[SvgIcon]: change xlink:href to href(PanJiaChen#2645) https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href * fix[TagsView]: fixed click.middle can close affixed tag bug (PanJiaChen#2649) * docs: add job ad * feat: add job * docs: improved README.md (PanJiaChen#2656) * style: fix el-date-picker css style * perf: format dropdown menu code (PanJiaChen#2720) * perf: format inline edit table (PanJiaChen#2725) move one format `{row}` * perf: format drag table (PanJiaChen#2733) move one format `{row}` * perf: complex table (PanJiaChen#2732) * perf: text i18n (PanJiaChen#2739) * update 'MarkdownEditor' components name * format: space in user card (PanJiaChen#2744) * perf: format pdf download (PanJiaChen#2791) * perf[views/icons]: use grid (PanJiaChen#2803) * feat: plop new generate store (PanJiaChen#2805) * fix[icons]:fixed eslint 1 error and 2 warnings (PanJiaChen#2835) * perf[documentation]: refine css * fix[Logout]: click blank area of dropDown able to logout (PanJiaChen#2896) * perf: import mockXHR only in production (PanJiaChen#2910) * 自动排除mock 生产环境,使用webpack的条件编译自动排除mock数据 * perf: refine Co-authored-by: 花裤衩 <[email protected]> * perf[Menu]: remove unused menu-wrapper (PanJiaChen#2903) * perf[complex-table]:refine code (PanJiaChen#2825) * perf: optimize checkCapslock method (PanJiaChen#2635) * optimize checkCapslock method * update Co-authored-by: 花裤衩 <[email protected]> * fix[Charts]: fix charts resize in keep-alive bug (PanJiaChen#2922) * fix[Charts]: fix charts resize in keep-alive bug * refine * fix: fixed mock server (PanJiaChen#2929) * init * refine * update * bump: update element-ui version * fix: fixed require mock bug in production * feat[Search]: route search supports pinyin (PanJiaChen#2643) * fix: fixed redirect path regex (PanJiaChen#2933) * perf[Mock]: set responseFake to mock-server.js(PanJiaChen#2966) * modify 把mock/index.js中与mock-server相关的代码转移到mock-server.js中去,实现两则功能分割 * docs: improve Japanese translation (PanJiaChen#2970) * perf: change script-loader to dependencies * fix[profile/UserCard]: fixed wrong key name (PanJiaChen#3056) roles => role * fix:fixed parseTime bug in ie and safari(PanJiaChen#3066) * /src/utils/index.js parseTime 添加IE浏览器(版本10以下,包括版本10)兼容。 * perf: update Co-authored-by: aisen60 <[email protected]> Co-authored-by: 花裤衩 <[email protected]> * perf: format component names as PascalCase (PanJiaChen#3074) format: component names should be PascalCase * docs: add smallsticker * Update README.zh-CN.md * fix: svg support old broswer (PanJiaChen#3085) * fixed typo (PanJiaChen#3091) * fix: use vue-cli default source-map (PanJiaChen#3097) cheap-module-eval-source-map * perf[Tinymce]: editor try to keep these URLs intact (PanJiaChen#3141) * fix[element-variables]: missing space in element-variables (PanJiaChen#3144) * fix: compatibility with vetur (#1700) * feat: add option to try project on CodeSandbox (PanJiaChen#2976) * docs: add tips * perf: when tags-view scroll close the right-menu * fix[parseTime]: fixed when pass null (PanJiaChen#3038) * fix[css]: min btn width (PanJiaChen#3164) * Add contributor into package.json file. * fixed before merge. Co-authored-by: 花裤衩 <[email protected]> Co-authored-by: toruksmakto <[email protected]> Co-authored-by: Yamel Senih <[email protected]> Co-authored-by: Yamel Senih <[email protected]> Co-authored-by: liugq <[email protected]> Co-authored-by: bpzhang <[email protected]> Co-authored-by: Serge <[email protected]> Co-authored-by: MaYuanhai <[email protected]> Co-authored-by: Jessynt <[email protected]> Co-authored-by: 肖敏 <[email protected]> Co-authored-by: TinaryTree <[email protected]> Co-authored-by: itsccn <[email protected]> Co-authored-by: why <[email protected]> Co-authored-by: Baskerville* <[email protected]> Co-authored-by: Francis <[email protected]> Co-authored-by: monkeycf <[email protected]> Co-authored-by: BradyBromley <[email protected]> Co-authored-by: Phạm Ngọc Hòa <[email protected]> Co-authored-by: bbigcd <[email protected]> Co-authored-by: xuanzai <[email protected]> Co-authored-by: flitrue <[email protected]> Co-authored-by: 韬 <[email protected]> Co-authored-by: 任羽飞 <[email protected]> Co-authored-by: Kaitian Xie <[email protected]> Co-authored-by: AndyLZC/AndyLZC.github.io <[email protected]> Co-authored-by: RussXD <[email protected]> Co-authored-by: 李小斐 <[email protected]> Co-authored-by: RoBlues <[email protected]> Co-authored-by: Shota Aratono <[email protected]> Co-authored-by: echofly <[email protected]> Co-authored-by: Aisen60 <[email protected]> Co-authored-by: aisen60 <[email protected]> Co-authored-by: Alex S <[email protected]> Co-authored-by: Aisen <[email protected]> Co-authored-by: ntnyq <[email protected]> Co-authored-by: garethx <[email protected]> Co-authored-by: AiMe1991 <[email protected]> Co-authored-by: cooper <[email protected]> Co-authored-by: Nickbing Lao <[email protected]>
It was working for me with |
it's work with me |
For nuxt users and encountered this error, if you don't need eslint and want to save time. Just remove the '@nuxtjs/eslint-module' in nuxt.config.js buildModules: [
|
* chore: remove i18n (#1828) * [release] 4.1.0 * perf[Profile]: adapt the profile page to the mobile (PanJiaChen#2020) * Revert "perf: optimize page scrolling when setting fixedHeader" This reverts commit e8e6c7e. * perf[Style]: refine fixed-header style when open el-dialog * doc: add new article * chore: use mockjs in production environment * fix[sidebar.css]: remove redundant css * perf[style]: refine dashboard style in mobile (PanJiaChen#2060) * feat[ErrorLog]: add a clear button in ErrorLog component (PanJiaChen#2065) * fix[redirect]: fix redirect bug in vue-devtools (PanJiaChen#2066) * perf[Tinymce]: update tinymce cdn version * fix[redirect]: fix redirect bug in vue-devtool again * docs: add support to readme for Spanish (PanJiaChen#2070) * docs[es]: add some translation(PanJiaChen#2080) * perf[Exapme]: set page title according to article id * perf[RightPanel]: tidy css (PanJiaChen#2101) * feat[SvgIcon]: support import svg from url (PanJiaChen#2052) * fix: fixed change roles bug (PanJiaChen#2072) * perf[Breadcrumb]: do not update breadcrumbs when go to redirect page (PanJiaChen#2086) * perf[store]: add support to sub-modules (PanJiaChen#2047) * perf[Login]: support other query (PanJiaChen#2013) * refactor[chore]: generate postcss.config.js instead of .postcssrc.js consistent with vue-cli * perf[Tinymce]: dynamic import tinymce(PanJiaChen#2102) * [release] 4.2.0 * perf[Style]: refine example css * fix[Chart]: fixed chart bug in keep-alive (PanJiaChen#2119) * Create FUNDING.yml * chore: set localhost => 127.0.0.1 (PanJiaChen#2142) * update github ISSUE_TEMPLATE * chore: add autoprefixer to devDependencies * perf[Tinymce]: add language option (PanJiaChen#2159) * fix[Tinymce]: fixed bug when init multiple tinymces at the same time (PanJiaChen#2152) * feat: add tab url demo (PanJiaChen#2114) * perf[request.js]: refine error reject (PanJiaChen#2160) * [release] 4.2.1 * perf: default not set withCredentials * fix[ImageCropper]: removeEventListener when destroyed(PanJiaChen#2169) * docs: fix typo (PanJiaChen#2170) * fix: input attribute autocomplete error (PanJiaChen#2191) * perf[PanThumb]: Replace the image tag with background-image to prevent the stretching (PanJiaChen#2202) * docs: fix typo README.zh-CN.md (PanJiaChen#2283) 修改错别字 * perf[clipboard.js]: remove redundant code (PanJiaChen#2307) * bump: update axios for security vulnerability * bump: update @vue/cli-plugin-eslint version (PanJiaChen#2327) FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231. * chore: allow dynamic set port * fix[complex-table]: form header sort icon is out of sync (PanJiaChen#2382) * fix: fixed missing icons * fix: typos (PanJiaChen#2532) Role Nmae => Role Name * docs: add awesome-project * fix[Dashboard]: fixed debounce bug (PanJiaChen#2586) (PanJiaChen#2597) To fixed PanJiaChen#2586 * perf: VS Code support webpack alias file jump (PanJiaChen#2609) * perf: optimize import file-saver way(PanJiaChen#2347) * refactor[ImageCropper]: fix lint error (PanJiaChen#2365) * fix: fixed numberFormatter bug PanJiaChen#2568 * fix[example]: fixed create.vue cache error PanJiaChen#2608 * perf[utils.js]: perf parseTime function (PanJiaChen#2625) * perf[tagsView]: pref DEL_CACHED_VIEW and DEL_OTHERS_CACHED_VIEWS function (PanJiaChen#2626) * fix[tagsView]: fixed DEL_OTHERS_CACHED_VIEWS bug * fix[logout]: empty tagsview when logout (PanJiaChen#2632) * fix[TagsView]: fixed toLastView bug (PanJiaChen#2634) * perf[SvgIcon]: change xlink:href to href(PanJiaChen#2645) https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/xlink:href * fix[TagsView]: fixed click.middle can close affixed tag bug (PanJiaChen#2649) * docs: add job ad * docs: improved README.md (PanJiaChen#2656) * style: fix el-date-picker css style * perf: format dropdown menu code (PanJiaChen#2720) * perf: format inline edit table (PanJiaChen#2725) move one format `{row}` * perf: format drag table (PanJiaChen#2733) move one format `{row}` * perf: complex table (PanJiaChen#2732) Move ont format `{row}` * perf: text i18n (PanJiaChen#2739) * update 'MarkdownEditor' components name * format: space in user card (PanJiaChen#2744) * perf: format pdf download (PanJiaChen#2791) * perf[views/icons]: use grid (PanJiaChen#2803) * feat: plop new generate store (PanJiaChen#2805) * fix[icons]:fixed eslint 1 error and 2 warnings (PanJiaChen#2835) * perf[documentation]: refine css * fix[Logout]: click blank area of dropDown able to logout (PanJiaChen#2896) Fixed clicking blank area of drop-down unable to log out * perf: import mockXHR only in production (PanJiaChen#2910) * 自动排除mock 生产环境,使用webpack的条件编译自动排除mock数据 * perf: refine Co-authored-by: 花裤衩 <[email protected]> * perf[Menu]: remove unused menu-wrapper (PanJiaChen#2903) * perf[complex-table]:refine code (PanJiaChen#2825) * 解决无法删除列表的bug;优化代码; * perf: refine Co-authored-by: 花裤衩 <[email protected]> * perf: optimize checkCapslock method (PanJiaChen#2635) * optimize checkCapslock method * update Co-authored-by: 花裤衩 <[email protected]> * fix[Charts]: fix charts resize in keep-alive bug (PanJiaChen#2922) * fix[Charts]: fix charts resize in keep-alive bug * refine * fix: fixed mock server (PanJiaChen#2929) * init * refine * update * bump: update element-ui version * fix: fixed require mock bug in production * fix: fixed redirect path regex (PanJiaChen#2933) * perf[Mock]: set responseFake to mock-server.js(PanJiaChen#2966) * modify 把mock/index.js中与mock-server相关的代码转移到mock-server.js中去,实现两则功能分割 * docs: improve Japanese translation (PanJiaChen#2970) * perf: change script-loader to dependencies * fix[profile/UserCard]: fixed wrong key name (PanJiaChen#3056) roles => role * fix:fixed parseTime bug in ie and safari(PanJiaChen#3066) * /src/utils/index.js parseTime 添加IE浏览器(版本10以下,包括版本10)兼容。 * perf: update Co-authored-by: aisen60 <[email protected]> Co-authored-by: 花裤衩 <[email protected]> * perf: format component names as PascalCase (PanJiaChen#3074) format: component names should be PascalCase * docs: add smallsticker * Update README.zh-CN.md * fix: svg support old broswer (PanJiaChen#3085) * fixed typo (PanJiaChen#3091) * fix: use vue-cli default source-map (PanJiaChen#3097) cheap-module-eval-source-map * perf[Tinymce]: editor try to keep these URLs intact (PanJiaChen#3141) * fix[element-variables]: missing space in element-variables (PanJiaChen#3144) * fix: compatibility with vetur (#1700) * perf: change default element-ui language to english (PanJiaChen#2741) * feat: add option to try project on CodeSandbox (PanJiaChen#2976) * docs: add tips * perf: when tags-view scroll close the right-menu * fix[parseTime]: fixed when pass null (PanJiaChen#3038) * fix[css]: min btn width (PanJiaChen#3164) * docs: Improve read me files and changes in Spanish. (PanJiaChen#3234) * [release] 4.2.2 * chore: change node-sass to dart-sass (PanJiaChen#3040) * perf: change >>> ::v-deep * [release] 4.3.0 * docs: fix wrong link * chore: turn on the preload * refactor: change mock files to commonjs (PanJiaChen#3246) * feat[Menu]: menu icon support el-icon(PanJiaChen#3048) * fix[utils]: param2Obj bug when url params includes ==(PanJiaChen#3100) * perf: remove unused showdown Co-authored-by: 花裤衩 <[email protected]> * perf: lint code * fix[v-permission]: support dynamic set roles (PanJiaChen#3251) * chore: update element-ui to 2.13.2 * fix[plop]: set trim => trim() (PanJiaChen#3254) notEmpty * fix some typos * [release] 4.3.1 * bump: update to vue-cli@4 (PanJiaChen#3028) * [release] 4.4.0 * fix[chore]: do not preload runtime.js (PanJiaChen#3279) * perf[chore]: remove preserveWhitespace config (PanJiaChen#3280) * perf[Tinymce]: remove useless code (PanJiaChen#3295) * perf[permission.js]: remove useless code (PanJiaChen#3301) * typo: replace Css with CSS (PanJiaChen#3323) * docs: add GitAds * docs: remove gitads * docs: add vue-java-admin-dashboard-spring * perf: refine documentation button css * docs: add coupon * feat: add new sponsored * update dependencies. * fix: chart components, TODO: eslint-plugin-vue. * Update FUNDING.yml Co-authored-by: 花裤衩 <[email protected]> Co-authored-by: toruksmakto <[email protected]> Co-authored-by: Yamel Senih <[email protected]> Co-authored-by: Yamel Senih <[email protected]> Co-authored-by: liugq <[email protected]> Co-authored-by: bpzhang <[email protected]> Co-authored-by: Serge <[email protected]> Co-authored-by: MaYuanhai <[email protected]> Co-authored-by: Jessynt <[email protected]> Co-authored-by: 肖敏 <[email protected]> Co-authored-by: TinaryTree <[email protected]> Co-authored-by: itsccn <[email protected]> Co-authored-by: why <[email protected]> Co-authored-by: Baskerville* <[email protected]> Co-authored-by: Francis <[email protected]> Co-authored-by: monkeycf <[email protected]> Co-authored-by: BradyBromley <[email protected]> Co-authored-by: Phạm Ngọc Hòa <[email protected]> Co-authored-by: bbigcd <[email protected]> Co-authored-by: xuanzai <[email protected]> Co-authored-by: flitrue <[email protected]> Co-authored-by: 韬 <[email protected]> Co-authored-by: 任羽飞 <[email protected]> Co-authored-by: Kaitian Xie <[email protected]> Co-authored-by: AndyLZC/AndyLZC.github.io <[email protected]> Co-authored-by: RussXD <[email protected]> Co-authored-by: 李小斐 <[email protected]> Co-authored-by: RoBlues <[email protected]> Co-authored-by: Shota Aratono <[email protected]> Co-authored-by: echofly <[email protected]> Co-authored-by: Aisen60 <[email protected]> Co-authored-by: aisen60 <[email protected]> Co-authored-by: Alex S <[email protected]> Co-authored-by: Aisen <[email protected]> Co-authored-by: ntnyq <[email protected]> Co-authored-by: garethx <[email protected]> Co-authored-by: AiMe1991 <[email protected]> Co-authored-by: cooper <[email protected]> Co-authored-by: Nickbing Lao <[email protected]> Co-authored-by: Edwin Betancourt <[email protected]> Co-authored-by: Cat73 <[email protected]> Co-authored-by: Silentdoer <[email protected]> Co-authored-by: qige2016 <[email protected]> Co-authored-by: Dihak <[email protected]> Co-authored-by: crayymumu <[email protected]> Co-authored-by: dyz <[email protected]> Co-authored-by: Kerollos Magdy <[email protected]> Co-authored-by: EdwinBetanc0urt <[email protected]>
This was the only thing that worked for me:
|
After upgrade node version to v14.17.5(current LTS), problem solved 😱 ... |
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
Run this command to fix the issue: |
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
FIx cannot find module '.../node_modules/eslint/lib/api.js/package.json' bug,see vuejs/vue-cli#4231.
Version
3.9.0
Environment info
Steps to reproduce
What is expected?
What is actually happening?
This is from a clean instantiation of a vue-cli application. No additional configuration to webpack or eslint. It had been working previously, so I'm thinking it could be a issue caused by a minor update to a dependency. Somewhere eslint-loader is getting a user defined eslint package path that does not exist.
The text was updated successfully, but these errors were encountered: