瀏覽代碼

前端: ReadMe

baichengfei 5 年之前
父節點
當前提交
d003568134
共有 1 個文件被更改,包括 8 次插入0 次删除
  1. 8 0
      src/dashoo.cn/frontend_web/README.md

+ 8 - 0
src/dashoo.cn/frontend_web/README.md

@@ -40,3 +40,11 @@ $ pm2 delete shanlan
 ```
 
 For detailed explanation on how things work, checkout the [Nuxt.js docs](https://github.com/nuxt/nuxt.js).
+
+# 解决编译或打包时内存溢出,过程停止:
+
+	npm install -g increase-memory-limit
+### windows
+	set NODE_OPTIONS=--max_old_space_size=4096
+### mac/linux
+	export NODE_OPTIONS=--max_old_space_size=4096