Parcourir la source

前端: ReadMe

baichengfei il y a 5 ans
Parent
commit
d003568134
1 fichiers modifiés avec 8 ajouts et 0 suppressions
  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