When I ran npm run generate
it starts to throw an error. A few days ago everything worked fine.

What can be wrong?
npm run build
works fine.
<!--cmty--><!--cmty_prevent_hook--><div align="right"><sub><em>This question is available on <a href="https://nuxtjs.cmty.io">Nuxt.js</a> community (<a href="https://nuxtjs.cmty.io/nuxt/nuxt.js/issues/c1847">#c1847</a>)</em></sub></div>