Angular:make a spreadsheet project

Viewed 16

I want to create an angular spreadsheet in my local project.

Angular spreadsheet project

I did this same code in my project in the following way

1.ng new IgxSpreadsheet

2.ng add igniteui-angular

3.npm install igniteui-angular-excel igniteui-angular-core --save

4.npm install igniteui-angular-spreadsheet --save

5.npm install file-saver

6.npm install @types/file-saver

7.create these files
  >data>singersData.ts
  directives>prevent-scroll.directive.ts
  hierarchical-grid>hierarchical-grid-excel-style-filtering-sample-1
  hierarchical-grid-excel-style-filtering-sample-1.component.html
  hierarchical-grid-excel-style-filtering-sample-1.component.ts
  hierarchical-grid-excel-style-filtering-sample-1.component.scss

when i put the ng serve command i get this error

ng serve

⠼ Generating browser application bundles (phase: building)...
<--- Last few GCs --->

[17440:000001C0FDADCBE0]   142997 ms: Scavenge 2014.6 (2082.9) -> 2008.4 (2082.9) MB, 8.2 / 0.0 ms  (average mu = 0.652, current mu = 0.704) allocation failure
[17440:000001C0FDADCBE0]   143060 ms: Scavenge 2015.4 (2082.9) -> 2009.2 (2082.9) MB, 8.3 / 0.0 ms  (average mu = 0.652, current mu = 0.704) allocation failure
[17440:000001C0FDADCBE0]   143130 ms: Scavenge 2016.2 (2082.9) -> 2009.9 (2098.9) MB, 13.3 / 0.0 ms  (average mu = 0.652, current mu
= 0.704) allocation failure


<--- JS stacktrace --->

FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
 1: 00007FF69BFA7C4F v8::internal::CodeObjectRegistry::~CodeObjectRegistry+114207
 2: 00007FF69BF35EC6 DSA_meth_get_flags+65542
 3: 00007FF69BF36D7D node::OnFatalError+301
 4: 00007FF69C86B6CE v8::Isolate::ReportExternalAllocationLimitReached+94
 5: 00007FF69C855CAD v8::SharedArrayBuffer::Externalize+781
 6: 00007FF69C6F907C v8::internal::Heap::EphemeronKeyWriteBarrierFromCode+1468
 7: 00007FF69C6F6194 v8::internal::Heap::CollectGarbage+4244
 8: 00007FF69C6F3B10 v8::internal::Heap::AllocateExternalBackingStore+2000
 9: 00007FF69C718696 v8::internal::Factory::NewFillerObject+214
10: 00007FF69C44AB65 v8::internal::DateCache::Weekday+1797
11: 00007FF69C8F93C1 v8::internal::SetupIsolateDelegate::SetupHeap+494417
12: 000001C080490F68


Am I wrong in the install steps? Is there how to do this script locally?

Can you help me on this please.

0 Answers
Related