Skip to content
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

Building fails with errors #14

Open
Mavv3006 opened this issue Dec 21, 2022 · 0 comments
Open

Building fails with errors #14

Mavv3006 opened this issue Dec 21, 2022 · 0 comments

Comments

@Mavv3006
Copy link

When trying to build the project either user npm run build:dev or with npm run build, the building fails with the following error message:

Failed to load plugin standard: Cannot find module 'eslint-plugin-standard'

Stack trace:

> [email protected] build:dev
> vue-cli-service build


-  Building for production...Browserslist: caniuse-lite is outdated. Please run next command `yarn upgrade caniuse-lite browserslist`
|  Building for production...

 ERROR  Failed to compile with 1 errors                                                                                                                                                                                                                                                                     

 error  in ./src/main.js

Module build failed (from ./node_modules/thread-loader/dist/cjs.js):
Thread Loader (Worker 0)
Failed to load plugin standard: Cannot find module 'eslint-plugin-standard'
Require stack:
- E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\config\plugins.js
- E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\config.js
- E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\cli-engine.js
- E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\api.js
- E:\Dev\Vue\vue-plain-slider\node_modules\eslint-loader\index.js
- E:\Dev\Vue\vue-plain-slider\node_modules\loader-runner\lib\loadLoader.js
- E:\Dev\Vue\vue-plain-slider\node_modules\loader-runner\lib\LoaderRunner.js
- E:\Dev\Vue\vue-plain-slider\node_modules\thread-loader\dist\worker.js
Referenced from: E:\Dev\Vue\vue-plain-slider\node_modules\@vue\eslint-config-standard\index.js
Referenced from: E:\Dev\Vue\vue-plain-slider\.eslintrc.js

    at Function.Module._resolveFilename (node:internal/modules/cjs/loader:933:15)
    at Function.resolve (node:internal/modules/cjs/helpers:108:19)
    at Plugins.load (E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\config\plugins.js:106:29)
    at Array.forEach (<anonymous>)
    at Plugins.loadAll (E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\config\plugins.js:166:21)
    at loadFromDisk (E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\config\config-file.js:501:35)
    at load (E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\config\config-file.js:559:20)
    at E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\config\config-file.js:425:36
    at Array.reduceRight (<anonymous>)
    at applyExtends (E:\Dev\Vue\vue-plain-slider\node_modules\eslint\lib\config\config-file.js:403:26)

 @ multi ./src/main.js

 ERROR  Build failed with errors.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant