I have deployed my angular app on aws server using the serverless framework 
and everything has been done successfully but when i hit the url, a white 
screen comes and the screenshot that i have attached is showing in the 
console. Is there anyone who can help me out in this issue and i also have 
attached my index.html, main.ts and manifest.json file

-- 
You received this message because you are subscribed to the Google Groups 
"Angular and AngularJS discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/angular/9cbf676c-eb3f-4e66-9718-0cf479ccb3f8%40googlegroups.com.
Title: SafetyBeat
import 'hammerjs';
import {enableProdMode} from '@angular/core';
import {platformBrowserDynamic} from '@angular/platform-browser-dynamic';

import {AppModule} from './app/app.module';
import {environment} from './environments/environment';

if (environment.production) {
  enableProdMode();
}

platformBrowserDynamic().bootstrapModule(AppModule).then(() => {
  if ('serviceWorker' in navigator) {
    navigator.serviceWorker.register('firebase-messaging-sw.js')
      .then(function (registration) {
        console.log('Registration successful, scope is:', registration.scope);
      }).catch(function (err) {
      console.log('Service worker registration failed, error:', err);
    });
  }
}).catch(err => console.error(err));

Attachment: manifest.json
Description: application/json

Reply via email to