问题
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