Nuxt error in ./.nuxt/client.js | this.setDynamic is not a function

三世轮回 提交于 2020-01-05 06:16:09

问题


I can not understand what caused this error and whether it is related to my code.

nuxt v1.4.2, windows 10

Can you please tell what could cause this error?


回答1:


It's very strange, but after removing package vuepress, it all worked




回答2:


I had this issue after updating from 1.4.2 to 2.1.0 today. It affected my static generation, not my local dev instance, but maybe this will help: to resolve it, I simply removed my .nuxt and dist directories and ran nuxt generate again.




回答3:


Switched from yarn install to npm install and worked for me.



来源:https://stackoverflow.com/questions/51716353/nuxt-error-in-nuxt-client-js-this-setdynamic-is-not-a-function

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!