Try to setup Backstage.io in AWS linux EC2 Instance Error Shown after run the command npx @backstage/create-app@latest

36 Views Asked by At

Error showing while run this command @backstage/create-app@latest

  1. JS stacktrace --->
  2. FATAL ERROR: Reached heap limit Allocation failed - JavaScript heap out of memory
  3. 1: 0xb95be0 node::Abort() [node]
  4. 2: 0xa9a7f8 [node]
  5. 3: 0xd6f5b0 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [node]
  6. 4: 0xd6f957 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [node]
  7. 5: 0xf4ceb5 [node]
  8. 6: 0xf5f38d v8::internal::Heap::CollectGarbage(v8::internal::AllocationSpace, v8::internal::GarbageCollectionReason, v8::GCCallbackFlags) [node]
  9. 7: 0xf39a7e v8::internal::HeapAllocator::AllocateRawWithLightRetrySlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
  10. 8: 0xf3ae47 v8::internal::HeapAllocator::AllocateRawWithRetryOrFailSlowPath(int, v8::internal::AllocationType, v8::internal::AllocationOrigin, v8::internal::AllocationAlignment) [node]
  11. 9: 0xf1b3c0 v8::internal::Factory::AllocateRaw(int, v8::internal::AllocationType, v8::internal::AllocationAlignment) [node]
  12. 10: 0xf1298c v8::internal::FactoryBase<v8::internal::Factory>::AllocateRawArray(int, v8::internal::AllocationType) [node]
  13. 11: 0xf2df1a v8::internal::Handle<v8::internal::PropertyArray> v8::internal::Factory::CopyArrayAndGrow<v8::internal::PropertyArray>(v8::internal::Handle<v8::internal::PropertyArray>, int, v8::internal::AllocationType) [node]
  14. 12: 0x115c61c v8::internal::JSObject::MigrateToMap(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSObject>, v8::internal::Handle<v8::internal::Map>, int) [node]
  15. 13: 0x119059e v8::internal::LookupIterator::ApplyTransitionToDataProperty(v8::internal::Handle<v8::internal::JSReceiver>) [node]
  16. 14: 0x11a9b7d v8::internal::Object::TransitionAndWriteDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin) [node]
  17. 15: 0x11c1ea3 v8::internal::Object::AddDataProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertyAttributes, v8::Maybe<v8::internal::ShouldThrow>, v8::internal::StoreOrigin, v8::internal::EnforceDefineSemantics) [node]
  18. 16: 0x11c2cf6 v8::internal::Object::SetProperty(v8::internal::LookupIterator*, v8::internal::Handle<v8::internal::Object>, v8::internal::StoreOrigin, v8::Maybe<v8::internal::ShouldThrow>) [node]
  19. 17: 0x12eb105 v8::internal::Runtime::SetObjectProperty(v8::internal::Isolate*, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::Handle<v8::internal::Object>, v8::internal::StoreOrigin, v8::Maybe<v8::internal::ShouldThrow>) [node]
  20. 18: 0x115ceb4 v8::internal::JSReceiver::SetOrCopyDataProperties(v8::internal::Isolate*, v8::internal::Handle<v8::internal::JSReceiver>, v8::internal::Handle<v8::internal::Object>, v8::internal::PropertiesEnumerationMode, v8::base::ScopedVector<v8::internal::Handle<v8::internal::Object> > const*, bool) [node]
  21. 19: 0x12eef8d v8::internal::Runtime_SetDataProperties(int, unsigned long*, v8::internal::Isolate*) [node]
  22. 20: 0x170e079 [node]
  23. yarn install v1.22.22
  24. [1/5] Validating package.json...
  25. [2/5] Resolving packages...
  26. [3/5] Fetching packages...
  27. executing yarn install ✖
  28. Error: Could not execute command yarn install
  29. It seems that something went wrong when creating the app
  30. Failed to create app!
  • Try to setup Backstage.io in AWS linux EC2 Instance Error Shown after run the command npx @backstage/create-app@latest

0

There are 0 best solutions below