I need to have three difference versions of webpack, how do I fix this issue?
vuetify-loader@1.1.1 requires a peer of webpack@^4.0.0 but none is installed. You must install peer dependencies yourself.
extract-text-webpack-plugin@3.0.2 requires a peer of webpack@^3.1.0 but none is installed. You must install peer dependencies yourself.
webpack-dev-server@2.11.3 requires a peer of webpack@^2.2.0 || ^3.0.0 but none is installed. You must install peer dependencies yourself.
PS: I was up to now using the latest version 4.28.4 of webpack
According to what I read on SO, I suggest the following procedure.
webpack
. The migration guide at https://webpack.js.org/migrate/4/ is pretty well-written. vuetify-loader
run properly.npm remove extract-text-webpack-plugin
get rid of that package since it is deprecated, move forward and use mini-css-extract-plugin instead.webpack-dev-server
to a version so that works with the current version of webpack
.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.