网上查应该是node导致的内存溢出,64位电脑默认1.4G,32位电脑默认0.7G
在package.json 中的 Scripts 中添加 node 的参数
"scripts": { "serve": "node --max_old_space_size=10240 node_modules/@vue/cli-service/bin/vue-cli-service.js serve", "build": "vue-cli-service build --mode prod", "test": "vue-cli-service build --mode test", "lint": "vue-cli-service lint", "start": "npm run serve" }, 标签:node,vue,LAST,cli,service,JavaScript,serve,RETRY,build From: https://www.cnblogs.com/googlegis/p/17247185.html