Hello, I'm currently use nuxt 3.
I installed nuxt-memwatch and registered in nuxt.config.ts.
But, Cannot start nuxt: Cannot start nuxt: Cannot read properties of undefined (reading 'options') at nuxtMemwatch (~~/node_modules/nuxt-memwatch/lib/module.js:11:12).
I think that the problem is this.options, this.nuxt is undefined, and maybe related with the version of nuxt.
Can you give me any guide for this?
ERROR Cannot restart nuxt: Cannot read properties of undefined (reading 'options') 오후 2:52:07
at nuxtMemwatch (/~~~/node_modules/nuxt-memwatch/lib/module.js:11:12)
at installModule (/~~~/node_modules/@nuxt/kit/dist/index.mjs:2407:101)
at async initNuxt (/~~~/node_modules/nuxt/dist/index.mjs:2928:7)
at async load (/~~~/node_modules/nuxi/dist/chunks/dev.mjs:204:9)
at async _applyPromised (/~~~/node_modules/nuxi/dist/chunks/dev.mjs:96:10)
Hello, I'm currently use nuxt 3. I installed nuxt-memwatch and registered in nuxt.config.ts. But, Cannot start nuxt: Cannot start nuxt: Cannot read properties of undefined (reading 'options') at nuxtMemwatch (~~/node_modules/nuxt-memwatch/lib/module.js:11:12). I think that the problem is
this.options
,this.nuxt
is undefined, and maybe related with the version of nuxt. Can you give me any guide for this?My package.json:
My nuxt.config.ts
And the error: