Static GitHub Issues

[419] ERROR in nuxt.bundle.js from UglifyJs

prev: nuxt generate folder can't find for non english params ( folder urlencode )
next: Is nuxt.js as static site generator practical for large site with many pages?

When running 'npm run generate'

I am getting the following error:

ERROR in nuxt.bundle.js from UglifyJs
Unexpected token: name (warn) [nuxt.bundle.js:14320,4]
Webpack build exited with errors
npm ERR! code ELIFECYCLE
npm ERR! errno 1
npm ERR! website@1.0.0 generate: `nuxt generate`
npm ERR! Exit status 1
npm ERR! 
npm ERR! Failed at the website@1.0.0 generate script 'nuxt generate'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the website package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     nuxt generate
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs website
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls website
npm ERR! There is likely additional logging output above.

npm ERR! A complete log of this run can be found in:
npm ERR!     /home/dev/.npm/_logs/2017-03-23T04_02_10_609Z-debug.log

The contents of the line ( nuxt.bundle.js:14320) are:

let warn = () => {}

Thanks

<!--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/c362">#c362</a>)</em></sub></div>