[Vuejs]-WebpackOptionsValidationError: configuration plugins[12] misses the property apply

0👍

OK people!!!
I’ve found a solution(trick). Off course it is a trick the way I see it but it is working absolutely fine to me. Remember this error happened to me due to upgrade from vuetify 1.5 to 2.1….
Steps I took were,

  • Created a new project(name = candy) with latest Vue and Vuetify.

  • Installed all dependencies and devDependencies in this new project(candy in my case) which I had in my original projects package.json file.

  • You can open package.json file of your original project and terminal in new project(candy) and run commands yarn add "package name in original project or npm install "package name.

  • Then copied this(candy) package.json file and pasted it in my original project folder and renamed these files and folder to old.

  • File & folder == node_modules to node_modules_old, package.json to package_old.json, vue.config.js to vue.config_old.js, yarn.lock to yarn_old.lock.

  • Copy only package.json of candy project to the original project’s folder.

  • Run command yarn install or npm install.

  • And the server runs now.

Further, you will have to set your code according to the project. It can be in vue.config.js mostly or in babel config file or webpack.config.js.

Leave a comment