-
Notifications
You must be signed in to change notification settings - Fork 920
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
[Bug report] Build fails with Webpack 5.48.0 #336
Comments
Bumping vue-loader to 16.4.1 could fix that problem. |
[webpack-cli] Error: Cannot find module 'webpack/lib/rules/DescriptionDataMatcherRulePlugin'
npm ERR! A complete log of this run can be found in: npm ERR! A complete log of this run can be found in: |
Bug report
Description
Build fails with Webpack 5.48.0, with the following error:
Error: Cannot find module 'webpack/lib/rules/DescriptionDataMatcherRulePlugin'
Workaround
Pin
webpack
to version 5.47.1 in your package.json.Steps to reproduce
vuepress dev
command.Expected behavior
Should work.
Screenshots
none
Environment info
vuepress info
:System: OS: Linux 5.4 Ubuntu 20.04.2 LTS (Focal Fossa) CPU: (8) x64 Intel(R) Core(TM) i5-8300H CPU @ 2.30GHz Memory: 7.74 GB / 15.48 GB Shell: 5.0.17 - /bin/bash Binaries: Node: 16.6.0 - /usr/bin/node Yarn: Not Found npm: 7.20.2 - /usr/local/bin/npm Utilities: Git: 2.25.1 - /usr/bin/git Browsers: Chrome: Not Found Firefox: 90.0 npmPackages: @vuepress/bundler-vite: Not Found @vuepress/bundler-webpack: 2.0.0-beta.23 @vuepress/cli: 2.0.0-beta.23 @vuepress/client: 2.0.0-beta.23 @vuepress/core: 2.0.0-beta.23 @vuepress/markdown: 2.0.0-beta.23 @vuepress/plugin-active-header-links: 2.0.0-beta.23 @vuepress/plugin-back-to-top: 2.0.0-beta.23 @vuepress/plugin-container: 2.0.0-beta.23 @vuepress/plugin-debug: Not Found @vuepress/plugin-docsearch: Not Found @vuepress/plugin-git: 2.0.0-beta.23 @vuepress/plugin-google-analytics: Not Found @vuepress/plugin-medium-zoom: 2.0.0-beta.23 @vuepress/plugin-nprogress: 2.0.0-beta.23 @vuepress/plugin-palette: 2.0.0-beta.23 @vuepress/plugin-prismjs: 2.0.0-beta.23 @vuepress/plugin-pwa: Not Found @vuepress/plugin-pwa-popup: Not Found @vuepress/plugin-register-components: Not Found @vuepress/plugin-search: Not Found @vuepress/plugin-shiki: Not Found @vuepress/plugin-theme-data: 2.0.0-beta.23 @vuepress/plugin-toc: Not Found @vuepress/shared: 2.0.0-beta.23 @vuepress/theme-default: 2.0.0-beta.23 @vuepress/utils: 2.0.0-beta.23 vue: 3.1.5 vue-loader: 16.4.0 vue-router: 4.0.10 vuepress: ^2.0.0-beta.23 => 2.0.0-beta.23 vuepress-vite: Not Found
The text was updated successfully, but these errors were encountered: