Home > Net >  Nuxt error vue.reactive is not a function
Nuxt error vue.reactive is not a function

Time:03-15

I needed to make some upgrades in my Next application. As I run yarn upgrade [email protected] I got an error:

vue.reactive is not a function.

I did not know what to do with it so I reverted the changes to their original state. But the error is still there although all packages are the same as before. Compilation is successfully done but the browser shows the same error.

How can I get back to the original state? I'm using enter image description here

CodePudding user response:

Update: locking the Vuex version in the package.json should solve the issue here.


Try to clean the cache of your package manager (yarn cache clean -all), delete the node_modules delete the yarn.lock and run yarn back.

Checking differences with git could also be useful. Setting the exact version of the package in the package.json could also be helpful.

  • Related