app项目npm run build打包报错

用hbuilder写了一个app的项目,因为某些需求需要先用npm run build打包成静态资源,再进行云打包,但是在npm run build 的时候报了错

img


求解决办法!

你 package.json里有 配置 build吗?