Nuxt server rendering, error occurred during build

the steps are as follows:
1, download the nuxt project from condig
2MagneNpm install install all dependencies
3PowerNPM run dev, and the project runs normally
4pr NPM run build, error message
ERROR in server.js from Terser
undefined
Picture description

attach package.jsong
"scripts": {

"dev": "nuxt",
"build": "nuxt build",
"start": "nuxt start",
"generate": "nuxt generate"

},
}

Jul.05,2022

Project warehouse address?

Menu