微服务3.6打包突然报错,在哪能修改配置,JavaScript heap out of memory

提问 未结 1 80
王者归来
悬赏:20积分
微服务3.6打包突然报错,在哪能修改配置,JavaScript heap out of memory FATAL ERROR: MarkCompactCollector: young object promotion failed Allocation failed - JavaScript heap out of memory npm ERR! code ELIFECYCLE npm ERR! errno 134 npm ERR! renren-cloud-admin@3.6.0 build:prod: `vue-tsc --noEmit && vite build --mode production` npm ERR! Exit status 134 npm ERR! npm ERR! Failed at the renren-cloud-admin@3.6.0 build:prod script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! D:\workSoft\node-v14.15.3-win-x86\node-v14.15.3-win-x86\node_cache\_logs\2022-06-10T04_09_23_490Z-debug.log error Command failed with exit code 134.
回帖
  • 内存溢出,换台好点的电脑,或者关掉一些应用,再打包
    0 回复