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 commandsyarn add "package name in original project
ornpm 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
tonode_modules_old
,package.json
topackage_old.json
,vue.config.js
tovue.config_old.js
,yarn.lock
toyarn_old.lock
. -
Copy only package.json of candy project to the original project’s folder.
-
Run command
yarn install
ornpm 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.