Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Error ng build "should NOT have additional properties(es5BrowserSupport)."
- # Fix: update angular devkit build angular
- ng update @angular-devkit/build-angular
- # jika masih error, you can edit angular.json file and find "es5BrowserSupport": true and comment it.
- # Error ng build --prod "bundle initial-es2015 exceeded maximum budget"
- # Fix: edit angular.json and find "budgets" keyword.
- # masalah build --prod yg tetap membaca environment.ts yang seharusnya membaca environment.prod.ts
- ng build --prod --configuration production
- # error build
- Index html generation failed.
- undefined:5:988957: property missing ':'
- # penyebab:
- # file CSS (contoh: projects/storefront/src/scss/icons/feather/style.css), ada font-face src: url(data
- # semula ada tanda petik src: url("data:application/x-font-ttf;charset=utf-8;base64 ... ")
- # fix hapus tanda petik menjadi src: url(data:application/x-font-ttf;charset=utf-8;base64 ...)
- # error build
- error TS7015: Element implicitly has an 'any' type because index expression is not of type 'number'.
- 4 apiUrl: window["env"]["apiUrl"] || "default"
- # sepertinya ini karena di tsconfig, strict: true.
- # fix: ubah file tsconfig.json tambahkan baris berikut pada compilerOptions
- compilerOptions:{
- "suppressImplicitAnyIndexErrors": true,
- "strictNullChecks":false,
- "strictPropertyInitialization": false,
- }
Add Comment
Please, Sign In to add comment