Search code examples
vue.jsdeploymentnuxt.jshttp-status-code-500nuxt3.js

nuxt request error Invalid value used as weak map key


enter image description here

I'm getting this error while trying to run : npm run dev Although this error , the app is working fine locally , but durring production, I Got the following error

enter image description here

please help guys ! :)


Solution

  • This error occurs when the component you are referencing is not registered, see https://github.com/nuxt/framework/discussions/4588 and https://github.com/nuxt/framework/issues/227.