npm run build报错

近期打包项目时报错,之前没有问题,突然就不行了,试了好多方法都不行,帮忙看一下,万分感谢

img

img

img

  1. npm install npm@latest ------将npm 更新到最新的版本

  2. 再npm run build