FangSen9000 commented on code in PR #2581:
URL: https://github.com/apache/apisix-dashboard/pull/2581#discussion_r963485439
##########
web/package.json:
##########
@@ -6,7 +6,7 @@
"scripts": {
"prepare": "cd .. && husky install web/.husky",
"analyze": "cross-env ANALYZE=1 yarn run build",
- "build": "cp -R ./node_modules/monaco-editor ./public/ && umi build",
+ "build": "cp -R ./node_modules/monaco-editor ./public/ &&
NODE_OPTIONS=--max_old_space_size=4096 umi build",
Review Comment:
Node.js uses the old V8 kernel. The default package size is only 1.6g, which
is not suitable for the current version. Allocating more memory will reduce
some problems
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]