tbonelee commented on code in PR #5109:
URL: https://github.com/apache/zeppelin/pull/5109#discussion_r2453297984


##########
zeppelin-web-angular/package.json:
##########
@@ -5,16 +5,14 @@
     "prepare": "cd .. && husky",
     "postinstall": "npm run build:projects && npm run build:tslint-rules",
     "ng": "./node_modules/.bin/ng",
-    "start": "cross-env NODE_OPTIONS=--openssl-legacy-provider ng serve 
--proxy-config proxy.conf.js --extra-webpack-config webpack.partial.js",
-    "build": "cross-env NODE_OPTIONS=--openssl-legacy-provider ng build --prod 
--extra-webpack-config webpack.partial.js",
+    "start": "ng serve --proxy-config proxy.conf.js --extra-webpack-config 
webpack.partial.js",
+    "build": "ng build --configuration production --extra-webpack-config 
webpack.partial.js",
     "build:tslint-rules": "tsc -p tslint-rules/tsconfig.json",
-    "build:projects": "npm run build-project:sdk && npm run build-project:vis 
&& npm run build-project:helium",
-    "build-helium-vis-example": " ng build --project helium-vis-example",
-    "build-project:sdk": " ng build --project zeppelin-sdk",
-    "build-project:vis": " ng build --project zeppelin-visualization",
-    "build-project:helium": "ng build --project zeppelin-helium",
-    "lint": "ng lint && tslint -p tslint-rules/tsconfig.json && prettier 
--check \"**/*.{ts,js,json,css,html}\"",
-    "lint:fix": "ng lint --fix && tslint --fix -p tslint-rules/tsconfig.json 
&& prettier --write \"**/*.{ts,js,json,css,html}\"",
+    "build:projects": "npm run build-project:sdk && npm run build-project:vis",
+    "build-project:sdk": "ng build --project zeppelin-sdk",
+    "build-project:vis": "ng build --project zeppelin-visualization",
+    "lint": "cross-env NODE_OPTIONS='--max-old-space-size=8192' ng lint && 
tslint -p tslint-rules/tsconfig.json && prettier --check 
\"**/*.{ts,js,json,css,html}\"",
+    "lint:fix": "cross-env NODE_OPTIONS='--max-old-space-size=8192' ng lint 
--fix && tslint --fix -p tslint-rules/tsconfig.json && prettier --write 
\"**/*.{ts,js,json,css,html}\"",

Review Comment:
   Added `--max-old-space-size=9128` options to fix heap out of memory error.



-- 
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]

Reply via email to