赞
踩
1. 本地运行出现错误: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
2. 可尝试解决方法:将package.json 文件里面的 scripts 里面的 serve: 换成 node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js serve --open
node --max_old_space_size=4096 node_modules/@vue/cli-service/bin/vue-cli-service.js serve --open
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。