Farewell:
Error: Cannot find module’webpack/lib/RequestShortener’
This is really clueless. Later, there was an article to solve other similar error reporting methods, and I borrowed it, and it really worked!
-
npm install webpack –save-dev // After the installation is successful, there will be a prompt to install webpack-cli again
-
npm install webpack-cli –save-dev
After that, it’s okay~
Read More:
- [Solved] Webpack compilation Error: Cannot find module’webpack-cli/bin/config-yargs’
- Error: cannot find module ‘webpack cli/bin/config yargs’‘
- [Solved] Error: Cannot find module ‘webpack-cli/package.json‘
- When starting Vue project: cannot find module ‘webpack cli / bin / config yargs’ error resolution
- [Solved] webpack.config.js configuration encountered Error: Cannot find module’@babel/core’&&Cannot find module’@babel/plugin-transform-react-jsx’
- How to Fix Webpack run error webpack dev server
- NPM start project error: cannot find module ‘webpack’ problem solution
- How to Solve Koa Error: Cannot find module ‘koa-router‘
- How to Solve webpack -v View Error in vsode
- How to Solve Webpack CacheGroups Error
- webpack4 Use webpack-dev-server Error [How to Solve]
- Webpack Error: Module build failed: TypeError: this.getOptions is not a function
- [Solved] Webpack error static heartbeat interval = 1000
- How to Solve Error: Cannot find the declaration of element ‘beans’.
- How to Solve ModuleNotFoundError: No module named ‘_bz2‘
- How to Solve Loadrunner Error: Failed to find .cfg file
- How to Solve Error: Module did not self-register
- [Go] Solve can’t load package: cannot find module providing package github.com/xxxxx
- How to Solve Import antd Error: Module build failed
- How to Solve Error “Could not find com.android.tools.build:gradle:3.0.1”