-1

When I processed the PRERENDER process in console for generating static pages for firebase website deployment that time my subpages' SEO meta tags and page contents not generate the data as per page contents. but all my page data is still in the assets folder in .json and .md formatted Data is only replaced when the angular app runs into the browser but when I wanted to make static pages with that data collection through the 'PRERENDER' process that time static pages generated as per routes links but page data not generate as per data. Also when start 'PRERENDER' process that time always I got so many errors in the build process.

.ERROR Error: Uncaught (in promise): Error
Error
    at XMLHttpRequest2.send (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/776.js:1:3884)
    at Observable3._subscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1745241)
    at Observable3._trySubscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231761)
    at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231653
    at Object.errorContext (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1425236)
    at Observable3.subscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231482)
    at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1362812
    at OperatorSubscriber2._this._next (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1289688)
    at Subscriber2.next (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1243257)
    at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1276010
    at resolvePromise (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/node_modules/zone.js/bundles/zone.umd.js:1251:35)
    at resolvePromise (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/node_modules/zone.js/bundles/zone.umd.js:1205:21)
    at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/node_modules/zone.js/bundles/zone.umd.js:1318:21
    at _ZoneDelegate.invokeTask (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/node_modules/zone.js/bundles/zone.umd.js:446:35)
    at Object.onInvokeTask (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1970838)
    at _ZoneDelegate.invokeTask (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/node_modules/zone.js/bundles/zone.umd.js:445:64)
    at Zone.runTask (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/node_modules/zone.js/bundles/zone.umd.js:211:51)
    at drainMicroTaskQueue (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/node_modules/zone.js/bundles/zone.umd.js:635:39) {
  rejection: NetworkError
      at XMLHttpRequest2.send (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/776.js:1:3884)
      at Observable3._subscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1745241)
      at Observable3._trySubscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231761)
      at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231653
      at Object.errorContext (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1425236)
      at Observable3.subscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231482)
      at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1362812
      at OperatorSubscriber2._this._next (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1289688)
      at Subscriber2.next (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1243257)
      at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1276010,
  promise: ZoneAwarePromise [Promise] {
    __zone_symbol__state: 0,
    __zone_symbol__value: NetworkError
        at XMLHttpRequest2.send (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/776.js:1:3884)
        at Observable3._subscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1745241)
        at Observable3._trySubscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231761)
        at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231653
        at Object.errorContext (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1425236)
        at Observable3.subscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231482)
        at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1362812
        at OperatorSubscriber2._this._next (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1289688)
        at Subscriber2.next (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1243257)
        at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1276010
  },
  zone: <ref *1> Zone {
    _parent: Zone {
      _parent: null,
      _name: '<root>',
      _properties: {},
      _zoneDelegate: [_ZoneDelegate]
    },
    _name: 'angular',
    _properties: { isAngularZone: true },
    _zoneDelegate: <ref *2> _ZoneDelegate {
      _taskCounts: [Object],
      zone: [Circular *1],
      _parentDelegate: [_ZoneDelegate],
      _forkZS: null,
      _forkDlgt: null,
      _forkCurrZone: null,
      _interceptZS: null,
      _interceptDlgt: null,
      _interceptCurrZone: null,
      _invokeZS: [Object],
      _invokeDlgt: [_ZoneDelegate],
      _invokeCurrZone: [Circular *1],
      _handleErrorZS: [Object],
      _handleErrorDlgt: [_ZoneDelegate],
      _handleErrorCurrZone: [Circular *1],
      _scheduleTaskZS: [Object],
      _scheduleTaskDlgt: [_ZoneDelegate],
      _scheduleTaskCurrZone: [Circular *1],
      _invokeTaskZS: [Object],
      _invokeTaskDlgt: [_ZoneDelegate],
      _invokeTaskCurrZone: [Circular *1],
      _cancelTaskZS: [Object],
      _cancelTaskDlgt: [_ZoneDelegate],
      _cancelTaskCurrZone: [Circular *1],
      _hasTaskZS: [Object],
      _hasTaskDlgt: [_ZoneDelegate],
      _hasTaskDlgtOwner: [Circular *2],
      _hasTaskCurrZone: [Circular *1]
    }
  },
  task: ZoneTask {
    _zone: <ref *1> Zone {
      _parent: [Zone],
      _name: 'angular',
      _properties: [Object],
      _zoneDelegate: [_ZoneDelegate]
    },
    runCount: 0,
    _zoneDelegates: null,
    _state: 'notScheduled',
    type: 'microTask',
    source: 'Promise.then',
    data: ZoneAwarePromise [Promise] {
      __zone_symbol__state: 0,
      __zone_symbol__value: NetworkError
          at XMLHttpRequest2.send (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/776.js:1:3884)
          at Observable3._subscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1745241)
          at Observable3._trySubscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231761)
          at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231653
          at Object.errorContext (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1425236)
          at Observable3.subscribe (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1231482)
          at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1362812
          at OperatorSubscriber2._this._next (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1289688)
          at Subscriber2.next (/Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1243257)
          at /Users/shibaji/Desktop/project/My Websites/Softwares Techy/ShibajiApp/dist/ShibajiApp/server/main.js:1:1276010
    },
    scheduleFn: undefined,
    cancelFn: undefined,
    callback: [Function (anonymous)],
    invoke: [Function (anonymous)]
  }
}

I saw many posts. but still, I am not getting the proper solution for this problem. Please anyone have the solution. Please guide me on how can solve the issue.

Shibaji Debnath
  • 1,105
  • 1
  • 10
  • 16

0 Answers0