Hi. After update i get this error when i want to run npm run build
` ERROR Nuxt error
Error: nuxt.plugin('build',..) is not supported. Use new hooks system.
nuxt.js:88 Nuxt.plugin
[proiecte]/[nuxt]/lib/core/nuxt.js:88:13
index.js:54 ModuleContainer.nuxtWorkbox
[proiecte]/[@nuxtjs]/workbox/index.js:54:13
module.js:155 Promise
[proiecte]/[nuxt]/lib/core/module.js:155:30
new Promise
module.js:139 ModuleContainer.addModule
[proiecte]/[nuxt]/lib/core/module.js:139:12
module.js:90 ModuleContainer.requireModule
[proiecte]/[nuxt]/lib/core/module.js:90:17
index.js:7 module
[proiecte]/[@nuxtjs]/pwa/index.js:7:17
index.js:1 promise.then
[proiecte]/[@nuxtjs]/pwa/index.js:1:146
next_tick.js:188 process._tickCallback
internal/process/next_tick.js:188:7
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! [email protected] build: nuxt build
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the [email protected] build script.
npm ERR! This is probably not a problem with npm. There is likely additional logging output above.`
What should i Change?
Hi. Would you please confirm exactly witch versions of nuxt and @nuxtjs/pwa packages are causing this error?
[SOLVED]
Problem was that @nuxtjs/pwa was old. v 1.0.2
Uninstalled and reinstalled @nuxtjs/pwa and it's all OK.
OK. Nice to hear your problem was resolved :)
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.
Most helpful comment
[SOLVED]
Problem was that
@nuxtjs/pwawas old. v 1.0.2Uninstalled and reinstalled
@nuxtjs/pwaand it's all OK.